Created
November 14, 2019 11:07
-
-
Save guptarohit/35f49bc663620d03ca00d2a0ff7429df to your computer and use it in GitHub Desktop.
pre-commit hooks pipeline with isort, black and flake8
This file contains 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
repos: | |
- repo: https://github.com/asottile/seed-isort-config | |
rev: v1.9.3 | |
hooks: | |
- id: seed-isort-config | |
- repo: https://github.com/pre-commit/mirrors-isort | |
rev: v4.3.21 | |
hooks: | |
- id: isort | |
- repo: https://github.com/ambv/black | |
rev: stable | |
hooks: | |
- id: black | |
language_version: python3.6 | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v2.3.0 | |
hooks: | |
- id: flake8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment