pre commit hooks
This commit is contained in:
parent
71603d78db
commit
e127987e3a
|
|
@ -18,9 +18,15 @@ repos:
|
||||||
- id: isort
|
- id: isort
|
||||||
args: ["--profile", "black"]
|
args: ["--profile", "black"]
|
||||||
|
|
||||||
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
|
rev: 5.0.4
|
||||||
|
hooks:
|
||||||
|
- id: flake8
|
||||||
|
args: ['--ignore=E203,E501,F811,E712,W503']
|
||||||
|
|
||||||
# Formatting, Whitespace, etc
|
# Formatting, Whitespace, etc
|
||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v2.20.0
|
rev: v3.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
|
|
@ -35,5 +41,3 @@ repos:
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
args: ['--fix=no']
|
args: ['--fix=no']
|
||||||
- id: flake8
|
|
||||||
args: ['--ignore=E203,E501,F811,E712,W503']
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue