-
Notifications
You must be signed in to change notification settings - Fork 8
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
[ENH] package with pyproject.tom and lint #46
Conversation
Remi-Gau
commented
Jun 18, 2024
•
edited
Loading
edited
- package with pyproject.toml and hatchling: drop versioneer
- add isort / codespell config and to pre-commit
- add isort / codespell / flake8 to pre-commit config
- apply linting via pre-commit
- fix easy errors manually:
- unused imports
- f string related errors
- ...
- and silence others
- line length
- ...
Biggest chunk of line changes comes from dropping all the clutter that versioneer added in the repo and that can now be taken care of by hatchling and hatchling-VCS. |
docs/tools/ | ||
reproschema/_version.py | ||
max-line-length=79 | ||
extend-ignore = B001, B006, B016, E501, E722, F821 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can fix those errors but probably in a follow up PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe another PR later
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci