Skip to content

1.0.0

Choose a tag to compare

@akaihola akaihola released this 13 Mar 20:30
· 233 commits to main since this release
9830a78

Added

  • Copied linting related code from Darker 1.7.3.
  • The command graylint --config=check-graylint.toml now runs Flake8, Mypy,
    pydocstyle, Pylint and Ruff on Graylint's code base and reports new linting errors
    and errors on modified lines in Python files. Those linters are installed as
    dependencies in the [test] extra.
    Similarly, darker --config=check-graylint.toml runs the same linters as well as
    Black and isort on modified lines.
  • 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.

Removed

  • Don't run pytest-darker in the CI build. It's lagging quite a bit behind.

Fixed

  • Omit missing paths from linter command lines. Mypy was known to lint nothing if any
    of the paths on the command line didn't exist.
  • Include py.typed marker in distributions so the package is recognized as a
    PEP 561 compliant package with typing annotations.