Skip to content

Commit 3ffca3b

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.20.2](abravalheri/validate-pyproject@v0.13...v0.20.2) - [github.com/asottile/pyupgrade: v3.4.0 → v3.17.0](asottile/pyupgrade@v3.4.0...v3.17.0) - [github.com/psf/black: 23.3.0 → 24.8.0](psf/black@23.3.0...24.8.0) - [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.18.0](adamchainz/blacken-docs@1.13.0...1.18.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 → v1.0.0](sphinx-contrib/sphinx-lint@v0.6.7...v1.0.0) - [github.com/PyCQA/doc8: v1.1.1 → v1.1.2](PyCQA/doc8@v1.1.1...v1.1.2) - [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.11.2](pre-commit/mirrors-mypy@v1.3.0...v1.11.2) - 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.6.8](astral-sh/ruff-pre-commit@v0.0.269...v0.6.8) - [github.com/PyCQA/pylint: v2.17.4 → v3.3.1](pylint-dev/pylint@v2.17.4...v3.3.1) - [github.com/PyCQA/bandit: 1.7.5 → 1.7.10](PyCQA/bandit@1.7.5...1.7.10)
1 parent 74cac28 commit 3ffca3b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.pre-commit-config.yaml

+15-15
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.20.2
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.17.0
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.8.0
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.18.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,13 +69,13 @@ 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: v1.0.0
7373
hooks:
7474
- id: sphinx-lint
7575

7676
# lint documentation
7777
- repo: https://github.com/PyCQA/doc8
78-
rev: v1.1.1
78+
rev: v1.1.2
7979
hooks:
8080
- id: doc8
8181

@@ -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.11.2
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.6.8'
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.3.1
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.10
133133
hooks:
134134
- id: bandit
135135
# Assert is used exclusively in pytest.

0 commit comments

Comments
 (0)