fix-format
now only supports Python 3.6+.
- Ignore Python files generated by Jupytext.
- 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.
- Provided
ff --git-hooks
to add pre-commit hooks which validate that the code is properly formatted before being committed.
- Adopted pydevf formatter (https://github.com/fabioz/PyDev.Formatter)
- Use absolute paths when calling isort to properly load per project isort config files.
- Fix handling of isort skipped files.
- Use default isort options, for custor formating a configuration file should be used as described in isort documentation.
- Fix support for filenames in pattern (such as CMakeLists.txt), when in subdirectories.
- Add support for CMake files (*.cmake, CMakeLists.txt).
- Add support for Cython files (*.pyx, *.pxd).
- Fix ff -c/ff --commit in Python 3.
- Force to always use parentheses on multi-line imports.
- Workaround for isort bug where some stdlib modules are not recognized as such because of a non-standard Python location.
- Fixed bug where EOL wasn't preserved in files affected by isort.
- 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.
- Display error summary at the end in case some error happens when fixing files.
- Fix bug when a file contained a single empty line.
- 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.
- First version.