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] [flake8]
extend-ignore = extend-ignore =
E722, # E722 Do not use bare except, specify exception instead # E722 Do not use bare except, specify exception instead
E402, # E402 module level import not at top of file E722,
# E402 module level import not at top of file
E402,
max-line-length = 130 max-line-length = 130

View file

@ -1,7 +1,7 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 rev: v4.4.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@ -27,7 +27,7 @@ repos:
args: [--format, parsable, --strict] args: [--format, parsable, --strict]
exclude: ^.github/ exclude: ^.github/
- repo: https://github.com/lyz-code/yamlfix - repo: https://github.com/lyz-code/yamlfix
rev: 1.1.0 rev: 1.1.1
hooks: hooks:
- id: yamlfix - id: yamlfix
exclude: ^.github/ exclude: ^.github/
@ -47,7 +47,7 @@ repos:
language_version: python3 language_version: python3
args: [--line-length, '130'] args: [--line-length, '130']
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 5.0.4 rev: 6.0.0
hooks: hooks:
- id: flake8 - id: flake8
args: [--config=.flake8] args: [--config=.flake8]