Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Latest commit

 

History

History
170 lines (105 loc) · 3.76 KB

CHANGELOG.rst

File metadata and controls

170 lines (105 loc) · 3.76 KB

History

4.0.0 (2022-05-29)

  • Drop support for the pydev formatter. Now if the project does not contain a [tool.black] section, esss-fix-format will issue an error.

3.2.0 (2021-01-12)

  • Add support to .cu (CUDA) files.
  • When running black on a large number of files, pass all files at once on Linux. Previously esss_fix_format would pass files in chunks due to a limitation in Windows command-line size, but now that workaround is done in Windows only.

3.1.0 (2020-12-18)

  • Files ignored by git are also ignored by fix-format when paths are given explicitly in the command-line.

3.0.0 (2020-08-14)

  • Upgrade to isort 5.

2.1.2 (2019-08-26)

  • Fix error when running on a Windows mounted drive.

2.1.1 (2019-08-23)

  • Improve the error description when fix-format crash with non UTF-8 files.

2.1.0 (2019-08-09)

  • fix-format now allows exclude patterns to be configured through pyproject.toml.

2.0.1 (2019-06-26)

  • Fix bug where pyproject.toml would not be found if a relative path was given in the command-line.

2.0.0 (2019-06-24)

  • fix-format now only supports Python 3.6+.

  • fix-format can now run black as the code formatter for Python code.

    See README.rst for instructions on how to use it.

  • By default fix-format is now less chatty, showing only files that were/would be changed and a summary at the end, unless the new --verbose flag is given.

1.8.0

  • Ignore Python files generated by Jupytext.

1.7.0

  • Check if .cpp file is non-ascii, ensure it has BOM at the beginning of the file.
  • Emmit message when clang-format is not installed (or usable).
  • Ensure python files do not include BOM.

1.6.0

  • Provided ff --git-hooks to add pre-commit hooks which validate that the code is properly formatted before being committed.

1.5.x

1.4.3

  • Use absolute paths when calling isort to properly load per project isort config files.

1.4.2

  • Fix handling of isort skipped files.
  • Use default isort options, for custor formating a configuration file should be used as described in isort documentation.

1.4.1

  • Fix support for filenames in pattern (such as CMakeLists.txt), when in subdirectories.

1.4.0

  • Add support for CMake files (*.cmake, CMakeLists.txt).

1.3.0

  • Add support for Cython files (*.pyx, *.pxd).

1.2.4

  • Fix ff -c/ff --commit in Python 3.

1.2.3

  • Force to always use parentheses on multi-line imports.

1.2.2

  • Workaround for isort bug where some stdlib modules are not recognized as such because of a non-standard Python location.

1.2.1

  • Fixed bug where EOL wasn't preserved in files affected by isort.

1.2.0

  • Add "-k" shortcut for "--check".
  • Display a summary of files which skipped checks.
  • Fixed error when an entire file was skipped due to a "isort:skip_file" instruction on the docstring.

1.1.1

  • Display error summary at the end in case some error happens when fixing files.
  • Fix bug when a file contained a single empty line.

1.1.0

  • Add support for passing directories in the command line.
  • No longer check files for a specific end-of-line.
  • Fixed #1: --commit option was not considering git root directory when listing files.

1.0.0

  • First version.