You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
The command darker --config=check-darker.toml now runs Flake8, Mypy,
pydocstyle, Pylint and Ruff on modified lines in Python files. Those tools are
included in the [test] extra.
The minimum Ruff version is now 0.0.292. Its configuration in pyproject.toml has
been updated accordingly.
The contribution guide now gives better instructions for reformatting and linting.
Separate GitHub workflow for checking code formatting and import sorting.
Also check the action, release tools and setup.py in the build workflows.
Require Darkgraylib 1.0.x and Graylint 1.0.x.
Update 3rd party GitHub actions to avoid using deprecated NodeJS versions.
CI build now shows a diff between output of darker --help and its output as
included README.rst in case the two differ.
Removed
Drop support for Python 3.7 which has reached end of life.
shlex_join compatibility wrapper for Python 3.7 and earlier.
Move linting support to Graylint_ but keep the -L/--lint option for now.
Move code used by both Darker and Graylint_ into the Darkgraylib_ library.
Don't run pytest-darker_ in the CI build. It's lagging quite a bit behind.
Fixed
Black 24.2.0 compatibility by using the new darkgraylib.files.find_project_root
instead of the implementation in Black.
Black 24.2.1 compatibility by detecting the new black.parsing.ASTSafetyError instead
of AssertionError when Black>=24.2.1 is in use.
Make sure NixOS_ builds have good SSL certificates installed.
Work around some situations where Windows errors due to a too long Git command line.