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
The recently added switch to pyproject.toml (see #7 ) included configuration options for the ruff.
The easiest way to add this to the development workflow is via pre-commit and pre-commit.ci which runs the checks as part of the Continuous Integration.
Tasks to complete...
Tidy up the dev section of project.optional-dependencies in pyproject.toml. Currently there is not test-suite and there are some extraneous packages in there, at a bare minimum dev should retain ruff and
Add .pre-commit-config.yaml with appropriate configuration options for ruff
Ensure there is the appropriate configuration section for pre-commit.ci in the .pre-commit-config.yaml
Allow permission for pre-commit.ci to run on this repository.
Might also be worth linting the code with pylint as ruff doesn't always pick up all the "code smells"
Add pylint to dev section of project.optional-dependencies.
Add a .pylintrc to configure how pylint runs on the repository.
Add a local hook to .pre-commit-config.yaml and ensure this is excluded from pre-commit.ci (typically required because the environment that runs on pre-commit.ci won't have all of the required dependencies to run the linting).
The text was updated successfully, but these errors were encountered:
The recently added switch to
pyproject.toml
(see #7 ) included configuration options for the ruff.The easiest way to add this to the development workflow is via pre-commit and pre-commit.ci which runs the checks as part of the Continuous Integration.
Tasks to complete...
dev
section ofproject.optional-dependencies
inpyproject.toml
. Currently there is not test-suite and there are some extraneous packages in there, at a bare minimumdev
should retainruff
and.pre-commit-config.yaml
with appropriate configuration options for ruffpre-commit.ci
in the.pre-commit-config.yaml
Might also be worth linting the code with pylint as
ruff
doesn't always pick up all the "code smells"pylint
todev
section ofproject.optional-dependencies
..pylintrc
to configure howpylint
runs on the repository.local
hook to.pre-commit-config.yaml
and ensure this is excluded frompre-commit.ci
(typically required because the environment that runs onpre-commit.ci
won't have all of the required dependencies to run the linting).The text was updated successfully, but these errors were encountered: