Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update pre-commit hooks #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -24,7 +24,7 @@ repos:
- --write-changes
- -L timeoutd
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
rev: v0.43.0
hooks:
- id: markdownlint
name: Fixing markdown linting errors
Expand All @@ -35,7 +35,7 @@ repos:
- id: absolufy-imports
name: Make python imports absolute
- repo: https://github.com/psf/black
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black
name: Python formatting (black)
Expand All @@ -51,7 +51,7 @@ repos:
name: Sorting python imports
args: [--profile, black]
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.19.0
hooks:
- id: pyupgrade
name: Upgrade common mistakes
Expand All @@ -73,21 +73,21 @@ repos:
- id: yesqa
name: Remove unnecessary noqa comments
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.6.3
rev: v0.8.1
hooks:
- id: ruff
name: Linting Python code (ruff)
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pycqa/pylint
rev: v3.2.7
rev: v3.3.1
hooks:
- id: pylint
name: Linting Python code (pylint)
exclude: ^tests/
args:
- --fail-under=9
- repo: https://github.com/PyCQA/prospector
rev: v1.10.3
rev: v1.13.3
hooks:
- id: prospector
name: Analysing Python code (prospector)
Expand All @@ -99,13 +99,13 @@ repos:
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.13.0
hooks:
- id: mypy
name: Static typechecking (mypy)
exclude: ^tests/
- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
rev: 1.8.0
hooks:
- id: bandit
exclude: ^tests/
Expand Down