-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
adding pre-commit hooks for the repository #190
Conversation
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.
Thanks for the great work!
If you can make it work with python3.7 (which should be straightforward), I would approve it, ;) I want the package to support 3.7 as well.
Also, what is the difference between autoflake and pycln? Maybe only use one if they are doing the same thing.
Can you integrate the pre-commit checks on GitHub actions/workflow as well?
Other than that, the PR looks very good. Maybe you used python3.8 for autoflake or pycln, I'm not sure because I never used these, but for black and flake8 should work with 3.7
Not sure about github actions/workflow but will try to integrate in different commit. Other than that I hope pre-commit is working. Ran tests all ran successfully so far. |
@jiaulislam Thanks for the PR. Did you test your implementation with python3.7 and 3.8? Because it seems there is a problem. Shouldn't it work for both versions of python or rather regarding of the version.
|
As I remembered I have used python 3.11 without any issue. But again let me get back to you with the issue after check I will update |
@nidhaloff , I have checked with python 3.7, 3.8. 3.11 but didn't faced any issue.
|
adding pre-commit support for #187