You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
31 lines
1.0 KiB
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
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: master
|
|
hooks:
|
|
- id: mypy
|
|
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: master
|
|
hooks:
|
|
- id: flake8
|
|
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
|
|
args:
|
|
- --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E201,E202,E203,E226,E241,E265,E266,E302,E305,E402,E501,E502,E722,E741,W504
|
|
- --statistics
|
|
- repo: local
|
|
hooks:
|
|
- id: pylint
|
|
name: pylint
|
|
entry: pylint
|
|
language: system
|
|
types: [python]
|
|
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
|
|
args:
|
|
- --disable=R,C,W
|
|
|