Created
June 25, 2021 07:03
-
-
Save ZekunZh/befb16e48209b6b6595da0464dbf7dd8 to your computer and use it in GitHub Desktop.
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: 19.10b0 | |
hooks: | |
- id: black | |
language_version: python3 | |
- repo: https://gitlab.com/pycqa/flake8 | |
rev: 3.9.0 | |
hooks: | |
- id: flake8 | |
args: ["--config=.flake8"] | |
- repo: https://github.com/pycqa/isort | |
rev: 5.8.0 | |
hooks: | |
- id: isort | |
name: isort (python) | |
args: ["--settings-path=.isort.cfg"] | |
- id: isort | |
name: isort (cython) | |
types: [cython] | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v4.0.1 | |
hooks: | |
- id: check-json | |
- id: check-yaml | |
args: ["--unsafe"] # Only check syntax, not try to load yaml to avoid undetermined constructor error | |
- id: detect-private-key | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment