Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure ruff (used by hatch fmt) in pyproject.toml. Lint and format repo according to this config #22

Merged
merged 28 commits into from
Jun 21, 2024

Conversation

macpd
Copy link
Contributor

@macpd macpd commented Jun 21, 2024

Also, remove style hatch env as we can use hatch fmt instead of black.

to check both linter and formatter (ie show warnings, but do not attempt to automatically fix them): hatch fmt --check
or check linter separately: hatch fmt --check --linter
to check formatting: hatch fmt --check --formatter

to apply linter and formatting fixes that are considered safe: hatch fmt

macpd added 28 commits May 14, 2024 13:28
…tch env as we can use hatch fmt instead of black
…lake8-simplify, and isort for lintering and formatting.
… with pytest_plugins in conftests.py registering tests.test_utils
@macpd macpd merged commit 74c0763 into main Jun 21, 2024
1 check passed
@macpd macpd deleted the feature/configure_ruff branch June 21, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant