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

Add support to run as a pre-commit hook #2588

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

luminoso
Copy link

@luminoso luminoso commented Mar 12, 2023

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

  • 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
  • I have updated the documentation for the changes I have made
  • 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.

@rusmux
Copy link

rusmux commented Nov 26, 2023

Any updates on this?

@luminoso
Copy link
Author

It looks like one validation is missing. I'll update it later for full conformity

@luminoso
Copy link
Author

luminoso commented Dec 4, 2023

Everything looks ok. Tagging @sobolevn for visibility

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