mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-09-20 07:16:04 +08:00
pre-commit updates
This commit is contained in:
parent
57fa0b0c41
commit
d2b67007ff
6
.flake8
6
.flake8
|
@ -1,5 +1,7 @@
|
|||
[flake8]
|
||||
extend-ignore =
|
||||
E722, # E722 Do not use bare except, specify exception instead
|
||||
E402, # E402 module level import not at top of file
|
||||
# E722 Do not use bare except, specify exception instead
|
||||
E722,
|
||||
# E402 module level import not at top of file
|
||||
E402,
|
||||
max-line-length = 130
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
@ -27,7 +27,7 @@ repos:
|
|||
args: [--format, parsable, --strict]
|
||||
exclude: ^.github/
|
||||
- repo: https://github.com/lyz-code/yamlfix
|
||||
rev: 1.1.0
|
||||
rev: 1.1.1
|
||||
hooks:
|
||||
- id: yamlfix
|
||||
exclude: ^.github/
|
||||
|
@ -47,7 +47,7 @@ repos:
|
|||
language_version: python3
|
||||
args: [--line-length, '130']
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 5.0.4
|
||||
rev: 6.0.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
args: [--config=.flake8]
|
||||
|
|
Loading…
Reference in a new issue