pre-commit updates

This commit is contained in:
bobokun 2022-12-03 09:06:01 -05:00
parent 57fa0b0c41
commit d2b67007ff
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 7 additions and 5 deletions

View file

@ -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

View file

@ -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]