Files
nc_http/.pre-commit-config.yaml

21 lines
522 B
YAML

repos:
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.7.4
hooks:
- id: pylint
exclude: ^nc_http/trash
args:
- --disable=C0103,C0114,C0115,C0116,E0401,R0201,R0903,R1722,W0105,W0108,W0401,W0613,W0621
# - --enable=unused-import
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: no-commit-to-branch
args: [--branch, staging]
- id: check-added-large-files
args: [ --maxkb=512 ]