esss_fix_format
esss_fix_format copied to clipboard
Simple code formatter and pre-commit checker used internally by ESSS
Related to #58 Listing all ignored files to later filter out those can have a big impact when we have some ignored folder with many files. Maybe we should call...
wouldn't it be better to use ``setuptools_scm`` than manually change every time the version on the ``setup.py``? _Originally posted by @marcelotrevisani in https://github.com/ESSS/esss_fix_format/pull/55#discussion_r524302646_
Update `esss_fix_format` so that it runs `mypy` on the updated files if there's a `mypy.ini` file in the root of the project.
``` (_alfasim_gui-win64-py36) λ ff -c Running black on 6 files... reformatted D:\prusse\work\alfasim\Projects\alfasim\alfasim_calc\source\python\alfasim_calc\license.py reformatted D:\prusse\work\alfasim\Projects\alfasim\alfasim_calc\source\python\alfasim_calc\run_scheduler.py All done! ✨ � ✨ 2 files reformatted, 4 files left unchanged. fix-format: 6 files left...
`ff` should check (ok), but `ff -c` should fix the files (add the BOM marker). This is related to issue #31.
Add CMake Format for CMakeLists.txt Link: https://github.com/cheshirekow/cmake_format
``` {lamb} git st On branch fb-ASIM-1865-generate-trend-from-profile-bug Changes to be committed: (use "git reset HEAD ..." to unstage) renamed: source/python/alfasim_gui/plugins/_tests/test_license_manager.py -> source/python/alfasim_gui/plugins/_tests/test_license_manager2.py (alfasim_gui-py36) W:\1\Projects\alfasim\alfasim_gui {git} {lamb} git commit /w/1/Projects/alfasim Hook...