Last active
June 23, 2018 16:47
-
-
Save ranjanashish/55e3af19ebb400dd6012b268cb122454 to your computer and use it in GitHub Desktop.
pre-commit configuration for python projects
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/ambv/black | |
rev: 18.6b2 | |
hooks: | |
- id: black | |
args: [--skip-string-normalization] | |
language_version: python3.6 | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v1.3.0 | |
hooks: | |
- id: trailing-whitespace | |
- id: end-of-file-fixer | |
- id: double-quote-string-fixer | |
- id: detect-aws-credentials | |
- id: detect-private-key | |
- id: check-merge-conflict | |
- id: check-ast | |
- id: flake8 | |
- repo: local | |
hooks: | |
- id: pytest | |
name: pytest | |
entry: tox | |
language: python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment