2020-05-27 21:00:14 -06:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: master
|
|
|
|
hooks:
|
|
|
|
- id: check-ast
|
|
|
|
- id: check-json
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-yaml
|
2020-05-28 16:05:04 -06:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
rev: master
|
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
|
2020-05-27 21:33:05 -06:00
|
|
|
- repo: https://gitlab.com/PyCQA/flake8
|
|
|
|
rev: master
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2020-05-28 16:40:48 -06:00
|
|
|
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
|
2020-05-27 21:33:05 -06:00
|
|
|
args:
|
|
|
|
- --select=F
|
2020-05-27 21:00:14 -06:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: pylint
|
|
|
|
name: pylint
|
|
|
|
entry: pylint
|
|
|
|
language: system
|
|
|
|
types: [python]
|
2020-05-28 16:40:48 -06:00
|
|
|
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
|
2020-05-27 21:00:14 -06:00
|
|
|
args:
|
|
|
|
- --disable=R,C,W
|