Skip to content

Commit

Permalink
update pre-commit (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Dec 14, 2022
1 parent 30a8d57 commit a042c54
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -38,7 +38,7 @@ repos:
- id: detect-private-key

- repo: https://github.com/asottile/pyupgrade
rev: v2.38.2
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand All @@ -51,14 +51,14 @@ repos:
args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120]

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.11.2
hooks:
- id: isort
name: imports
require_serial: false

- repo: https://github.com/psf/black
rev: 22.8.0
rev: 22.12.0
hooks:
- id: black
name: Format code
Expand All @@ -83,7 +83,7 @@ repos:
- id: yesqa

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
name: PEP8
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ verbose = 2
format = pylint
# see: https://www.flake8rules.com/
ignore =
E731 # Do not assign a lambda expression, use a def
E203 # whitespace before ':'
# Do not assign a lambda expression, use a def
E731
# whitespace before ':'
E203


# setup.cfg or tox.ini
Expand Down

0 comments on commit a042c54

Please sign in to comment.