Created
March 8, 2019 16:44
-
-
Save androiddrew/c72babdd1508d8b343ad724300f1ef20 to your computer and use it in GitHub Desktop.
A basic pre-commit config file for python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defualt_stages: [commit, push] | |
fail_fast: true | |
repos: | |
- repo: https://github.com/ambv/black | |
rev: stable | |
hooks: | |
- id: black | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v2.1.0 | |
hooks: | |
- id: trailing-whitespace | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v2.1.0 | |
hooks: | |
- id: flake8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment