spaCy/.pre-commit-config.yaml
julien-talkair 82b01964fa 🚨 adjust flake8 sensitivity
* pass arguments to flake8
* reproduce arguments from CI config
2021-07-06 22:41:54 +02:00

16 lines
338 B
YAML

repos:
- repo: https://github.com/ambv/black
rev: 21.6b0
hooks:
- id: black
language_version: python3.7
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
args:
- "--count"
- "--select=E901,E999,F821,F822,F823"
- "--show-source"
- "--statistics"