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

[ENH] package with pyproject.tom and lint #46

Merged
merged 8 commits into from
Jun 21, 2024

Conversation

Remi-Gau
Copy link
Contributor

@Remi-Gau Remi-Gau commented Jun 18, 2024

  • 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
    • ...

@Remi-Gau
Copy link
Contributor Author

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
Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe another PR later

@yibeichan yibeichan merged commit 239efcc into ReproNim:main Jun 21, 2024
10 of 11 checks passed
@Remi-Gau Remi-Gau deleted the packaging branch June 21, 2024 17:55
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.

3 participants