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

updating pre-commit and adding pyproject.toml #34

Merged
merged 5 commits into from
May 29, 2024

Conversation

GuillermoFidalgo
Copy link
Contributor

No description provided.

Comment on lines -23 to -32
- repo: "https://github.com/pre-commit/pygrep-hooks"
rev: v1.9.0
hooks:
- id: python-check-blanket-noqa
- id: python-check-blanket-type-ignore
- id: python-use-type-annotations
- repo: "https://github.com/pycqa/isort"
rev: 5.10.1
hooks:
- id: isort
Copy link
Owner

Choose a reason for hiding this comment

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

Are these checks already included in ruff?

Comment on lines -57 to -62
- repo: "https://github.com/fsfe/reuse-tool"
rev: v0.14.0
hooks:
- id: reuse
additional_dependencies:
- python-debian==0.1.40
Copy link
Owner

Choose a reason for hiding this comment

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

Why did you remove the license checking?

@mambelli
Copy link
Owner

Approving to get the repo as you like for the class. I may have to check and revert some changes in the precommit later

@mambelli mambelli merged commit 017f461 into mambelli:main May 29, 2024
3 checks passed
@GuillermoFidalgo
Copy link
Contributor Author

Sorry I didn't have a chance to answer the message. Today as we expected was very hectic.

I simply deleted some pre-commits and checked what worked. I remember reading a problem in the logs with isort. So I removed that because it is in ruff.
But I remember that the licence check see was still working. At least it required the license on the toml file I added so I don't know what it does.

It could just as well be reimplemented.

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.

2 participants