Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Commit aa55dda

Browse files
[pre-commit.ci] pre-commit autoupdate
updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.4.0...v4.6.0) - [github.com/abravalheri/validate-pyproject: v0.13 → v0.18](abravalheri/validate-pyproject@v0.13...v0.18) - [github.com/asottile/pyupgrade: v3.4.0 → v3.15.2](asottile/pyupgrade@v3.4.0...v3.15.2) - [github.com/psf/black: 23.3.0 → 24.4.2](psf/black@23.3.0...24.4.2) - [github.com/PyCQA/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2) - [github.com/PyCQA/docformatter: v1.7.1 → v1.7.5](PyCQA/docformatter@v1.7.1...v1.7.5) - [github.com/asottile/blacken-docs: 1.13.0 → 1.16.0](adamchainz/blacken-docs@1.13.0...1.16.0) - [github.com/asottile/dead: v1.5.1 → v1.5.2](asottile/dead@v1.5.1...v1.5.2) - [github.com/sphinx-contrib/sphinx-lint: v0.6.7 → v0.9.1](sphinx-contrib/sphinx-lint@v0.6.7...v0.9.1) - [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.10.0](pre-commit/mirrors-mypy@v1.3.0...v1.10.0) - https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.269 → v0.4.7](astral-sh/ruff-pre-commit@v0.0.269...v0.4.7) - [github.com/PyCQA/pylint: v2.17.4 → v3.2.2](pylint-dev/pylint@v2.17.4...v3.2.2) - [github.com/PyCQA/bandit: 1.7.5 → 1.7.8](PyCQA/bandit@1.7.5...1.7.8)
1 parent 74cac28 commit aa55dda

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44
repos:
55

66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
7+
rev: v4.6.0
88
hooks:
99
- id: check-yaml
1010
- id: check-toml
@@ -19,47 +19,47 @@ repos:
1919

2020
# Verify the contents of pyproject.toml
2121
- repo: https://github.com/abravalheri/validate-pyproject
22-
rev: v0.13
22+
rev: v0.18
2323
hooks:
2424
- id: validate-pyproject
2525

2626
# Updating code to use modern python patterns where available.
2727
- repo: https://github.com/asottile/pyupgrade
28-
rev: v3.4.0
28+
rev: v3.15.2
2929
hooks:
3030
- id: pyupgrade
3131

3232
# General Project code formatter.
3333
- repo: https://github.com/psf/black
34-
rev: 23.3.0
34+
rev: 24.4.2
3535
hooks:
3636
- id: black
3737

3838
# Sorts python imports.
3939
- repo: https://github.com/PyCQA/isort
4040
# Note - on black update blacken-docs pin should also be updated.
41-
rev: 5.12.0
41+
rev: 5.13.2
4242
hooks:
4343
- id: isort
4444
args: ['--profile=black']
4545

4646
# Formats python docstrings.
4747
- repo: https://github.com/PyCQA/docformatter
48-
rev: v1.7.1
48+
rev: v1.7.5
4949
hooks:
5050
- id: docformatter
5151

5252
# Formats code-blocks in documentation.
5353
- repo: https://github.com/asottile/blacken-docs
54-
rev: 1.13.0
54+
rev: 1.16.0
5555
hooks:
5656
- id: blacken-docs
5757
# Note - on black update blacken-docs pin should also be updated.
5858
additional_dependencies: ['black==22.12.0']
5959

6060
# Used to detect unintentionally unused code.
6161
- repo: https://github.com/asottile/dead
62-
rev: v1.5.1
62+
rev: v1.5.2
6363
hooks:
6464
- id: dead
6565
args: [
@@ -69,7 +69,7 @@ repos:
6969
# Lint documentation source.
7070
- repo: https://github.com/sphinx-contrib/sphinx-lint
7171
# Make sure to also update the additional dependency pin
72-
rev: v0.6.7
72+
rev: v0.9.1
7373
hooks:
7474
- id: sphinx-lint
7575

@@ -91,14 +91,14 @@ repos:
9191

9292
# Static typehint linting.
9393
- repo: https://github.com/pre-commit/mirrors-mypy
94-
rev: v1.3.0
94+
rev: v1.10.0
9595
hooks:
9696
- id: mypy
9797

9898
# A faster python linter
99-
- repo: https://github.com/charliermarsh/ruff-pre-commit
99+
- repo: https://github.com/astral-sh/ruff-pre-commit
100100
# Ruff version.
101-
rev: 'v0.0.269'
101+
rev: 'v0.4.7'
102102
hooks:
103103
- id: ruff
104104

@@ -118,7 +118,7 @@ repos:
118118

119119
# Lint code in pre-commit env, note: This ignores import checks.
120120
- repo: https://github.com/PyCQA/pylint
121-
rev: v2.17.4
121+
rev: v3.2.2
122122
hooks:
123123
# Pylint is also run from within pre-commit for CI purposes.
124124
- id: pylint
@@ -129,7 +129,7 @@ repos:
129129

130130
# Lint code for security flaws.
131131
- repo: https://github.com/PyCQA/bandit
132-
rev: 1.7.5
132+
rev: 1.7.8
133133
hooks:
134134
- id: bandit
135135
# Assert is used exclusively in pytest.

0 commit comments

Comments
 (0)