OCA-git-bot
5 years ago
committed by
Stéphane Bidoul
No known key found for this signature in database
GPG Key ID: BCAB2555446B5B92
1 changed files with
12 additions and
9 deletions
-
.pre-commit-config.yaml
|
|
@ -50,15 +50,6 @@ repos: |
|
|
|
# exclude autogenerated files |
|
|
|
exclude: /README\.rst$|\.pot?$ |
|
|
|
- id: debug-statements |
|
|
|
- id: flake8 |
|
|
|
name: flake8 except __init__.py |
|
|
|
exclude: /__init__\.py$ |
|
|
|
additional_dependencies: ["flake8-bugbear==19.8.0"] |
|
|
|
- id: flake8 |
|
|
|
name: flake8 only __init__.py |
|
|
|
args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py |
|
|
|
files: /__init__\.py$ |
|
|
|
additional_dependencies: ["flake8-bugbear==19.8.0"] |
|
|
|
- id: fix-encoding-pragma |
|
|
|
args: ["--remove"] |
|
|
|
- id: check-case-conflict |
|
|
@ -71,6 +62,18 @@ repos: |
|
|
|
- id: check-xml |
|
|
|
- id: mixed-line-ending |
|
|
|
args: ["--fix=lf"] |
|
|
|
- repo: https://gitlab.com/pycqa/flake8 |
|
|
|
rev: 3.7.9 |
|
|
|
hooks: |
|
|
|
- id: flake8 |
|
|
|
name: flake8 except __init__.py |
|
|
|
exclude: /__init__\.py$ |
|
|
|
additional_dependencies: ["flake8-bugbear==19.8.0"] |
|
|
|
- id: flake8 |
|
|
|
name: flake8 only __init__.py |
|
|
|
args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py |
|
|
|
files: /__init__\.py$ |
|
|
|
additional_dependencies: ["flake8-bugbear==19.8.0"] |
|
|
|
- repo: https://github.com/pre-commit/mirrors-pylint |
|
|
|
rev: v2.3.1 |
|
|
|
hooks: |
|
|
|