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 a pre-commit configuration #210

Merged
merged 2 commits into from
Nov 22, 2023
Merged

Conversation

miggland
Copy link
Contributor

This is based on the one from the main InvenTree repository, but simplified.

Flake8 has been simplified, since it caused lots of errors before.

Removed those hooks which had to with non-python scripts
… flake8). Spellcheck words

Disable flake8 extras for now, as they are excessive
@miggland
Copy link
Contributor Author

I don't know if this is something you want to have in this repo, but I find it quite helpful having to avoid problems in the tests appearing after pushing

@SchrodingersGat
Copy link
Member

Thanks @miggland this is a great improvement :)

@SchrodingersGat SchrodingersGat merged commit 52e6b6b into inventree:master Nov 22, 2023
@miggland miggland deleted the pre-commit branch November 23, 2023 07:35
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.

None yet

2 participants