Skip to content

Commit

Permalink
fix: make linters happy
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSasser committed Dec 11, 2023
1 parent fe8d771 commit 726ec39
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 59 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ repos:

# ruff
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.272'
rev: 'v0.1.7'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

# pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
# Prevent giant files from being committed.
- id: check-added-large-files
Expand Down Expand Up @@ -126,7 +126,7 @@ repos:

# format: black
- repo: https://github.com/ambv/black
rev: 23.3.0
rev: 23.11.0
hooks:
- id: black

Expand All @@ -142,7 +142,7 @@ repos:

# static type checking with mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
rev: v1.7.1
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -162,20 +162,20 @@ repos:

# vulture
- repo: https://github.com/jendrikseipp/vulture
rev: "v2.7"
rev: "v2.10"
hooks:
- id: vulture

# pyupgrade
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
rev: v3.15.0
hooks:
- id: pyupgrade
exclude: docs/source/conf.py

# pycln
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.5
rev: v2.4.0
hooks:
- id: pycln
args: [--config=pyproject.toml]
Expand Down
2 changes: 1 addition & 1 deletion matrixctl/addon_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# skipcq: PYL-W0212 # noqa: ERA001
# pyright: reportPrivateUsage=false
SubParsersAction = argparse._SubParsersAction # noqa: SLF001
SubParserType = Callable[[SubParsersAction], None]
SubParserType = Callable[[SubParsersAction], None] # type: ignore # noqa: PGH003
ParserSetupType = Callable[[], argparse.ArgumentParser]

# global
Expand Down
Loading

0 comments on commit 726ec39

Please sign in to comment.