-
Notifications
You must be signed in to change notification settings - Fork 124
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
pre-commit #195
Comments
@aucampia Are you going to prepare for pre-commit CI? |
Yes, I think we are fine with pre-commit. Can you please use exactly the same |
@eggplants I made a PR for adding pre-commit to https://github.com/RDFLib/rdflib and enabled pre-commit CI for it. If you make a PR for adding pre-commit config here here I will enable pre-commit CI for this repo also. Regarding flake8, we still need to rationalize our config for https://github.com/RDFLib/rdflib - some work was started on this in RDFLib/rdflib#1442 but we have to finish it. So for now I'm not adding it because it will always fail. You can add it but please try and keep PRs small to make it easier to review, enabling all checks for flake8 at once and fixing all their issues at once is maybe going too far, but we will do our best with reviews. The regarding mypy, I did not add it to pre-commit as we run this as part of tox and our CI, I'm open to other views here, but since tests are separate anyway I don't see much benefit to having mypy in pre-commmit as opposed to in tox. |
For reference, PR on RDFLib/rdflib is: |
One of the main benefits of pre-commit.ci for me is the ability to do |
@aucampia Could you install pre-commit in sparqlwrapper as well as rdflib? |
#184 (comment)
I think what is needed:
The text was updated successfully, but these errors were encountered: