wemake-python-styleguide
wemake-python-styleguide copied to clipboard
Add support to run as a pre-commit hook
I have made things!
I am adding .pre-commit-hooks.yaml
to make it possible to run wemake-python-styleguide as a pre-commit hook.
The syntax is the same as flake8 repo (which is also generated via pre-commit try-repo
command)
Checklist
- [x] I have double checked that there are no unrelated changes in this pull request (old patches, accidental config files, etc)
- [ ] I have created at least one test case for the changes I have made
- [x] I have updated the documentation for the changes I have made
- [x] I have added my changes to the
CHANGELOG.md
Related issues
🙏 Please, if you or your company is finding wemake-python-styleguide valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/wemake-python-styleguide. As a thank you, your profile/company logo will be added to our main README which receives hundreds of unique visitors per day.
Any updates on this?
It looks like one validation is missing. I'll update it later for full conformity
Everything looks ok. Tagging @sobolevn for visibility