Skip to content

Commit

Permalink
Merge pull request #5 from FilippoAiraldi/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
FilippoAiraldi authored Nov 4, 2024
2 parents 0be56ad + aaf1a8a commit 05e8c4b
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -8,7 +8,7 @@ default_stages: [pre-commit, pre-push]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -18,25 +18,25 @@ repos:
args: [--maxkb=2000]

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.19.0
hooks:
- id: pyupgrade
args:
- --py39-plus

- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
rev: v2.3.1
hooks:
- id: autoflake
args: [--in-place, --remove-all-unused-imports, --remove-unused-variables, --remove-duplicate-keys, --recursive]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 23.10.1
rev: 24.10.0
hooks:
- id: black

Expand Down
3 changes: 1 addition & 2 deletions tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
TMPFILENAME: str = ""


class EmptyClass(io.SupportsDeepcopyAndPickle):
...
class EmptyClass(io.SupportsDeepcopyAndPickle): ...


class DictClass(EmptyClass):
Expand Down

0 comments on commit 05e8c4b

Please sign in to comment.