Skip to content

Commit

Permalink
chore(deps-dev): update pre-commit tools (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenstroeger authored May 14, 2024
1 parent 3018e22 commit 3e31723
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ repos:

# Sort imports.
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: Sort import statements
args: [--settings-path, pyproject.toml]

# Add Black code formatters.
- repo: https://github.com/ambv/black
rev: 22.12.0
rev: 24.4.2
hooks:
- id: black
name: Format code
Expand All @@ -46,7 +46,7 @@ repos:

# Upgrade and rewrite Python idioms.
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
name: Upgrade code idioms
Expand All @@ -56,13 +56,13 @@ repos:
# Similar to pylint, with a few more/different checks. For more available
# extensions: https://github.com/DmytroLitvinov/awesome-flake8-extensions
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
name: Check flake8 issues
files: ^src/package/|^tests/
types: [text, python]
additional_dependencies: [flake8-bugbear==23.9.16, flake8-builtins==2.2.0, flake8-comprehensions==3.14.0, flake8-docstrings==1.7.0, flake8-logging==1.4.0, flake8-mutable==1.2.0, flake8-noqa==1.3.2, flake8-print==5.0.0, flake8-pyi==23.11.0, flake8-pytest-style==1.7.2, flake8-rst-docstrings==0.3.0, pep8-naming==0.13.3]
additional_dependencies: [flake8-bugbear==24.4.26, flake8-builtins==2.5.0, flake8-comprehensions==3.14.0, flake8-docstrings==1.7.0, flake8-logging==1.6.0, flake8-mutable==1.2.0, flake8-noqa==1.4.0, flake8-print==5.0.0, flake8-pyi==24.4.1, flake8-pytest-style==2.0.0, flake8-rst-docstrings==0.3.0, pep8-naming==0.13.3]
args: [--config, .flake8]

# Run Pylint from the local repo to make sure venv packages
Expand Down Expand Up @@ -90,7 +90,7 @@ repos:

# Check for potential security issues.
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.7.8
hooks:
- id: bandit
name: Check for security issues
Expand All @@ -102,7 +102,7 @@ repos:
# Enable a whole bunch of useful helper hooks, too.
# See https://pre-commit.com/hooks.html for more hooks.
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand Down Expand Up @@ -143,7 +143,7 @@ repos:

# Check and prettify the configuration files.
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.11.0
rev: v2.13.0
hooks:
- id: pretty-format-ini
args: [--autofix]
Expand All @@ -155,7 +155,7 @@ repos:

# Check GitHub Actions workflow files.
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: v1.6.26.11
rev: v1.6.27.13
hooks:
- id: actionlint

Expand Down

0 comments on commit 3e31723

Please sign in to comment.