Last active
April 3, 2019 13:36
-
-
Save efimk-lu/67535ebcac65f13cb96c23d87c8d4335 to your computer and use it in GitHub Desktop.
Pre-commit hooks
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
repos: | |
- repo: https://github.com/ambv/black | |
rev: stable | |
hooks: | |
- id: black | |
language_version: python3.7 | |
- repo: https://github.com/pre-commit/mirrors-mypy | |
rev: v0.660 | |
hooks: | |
- id: mypy | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: master | |
hooks: | |
- id: flake8 | |
args: ["--ignore","E501"] | |
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
#!/usr/bin/env bash | |
set -eo pipefail | |
pre-commit run -a | |
pytest --all src/test -p no:warnings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment