Skip to content

Commit

Permalink
chore: pre-commit autoupdate && pre-commit run -a
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardcooke53 committed Oct 10, 2023
1 parent a13a6c3 commit 7f448f2
Show file tree
Hide file tree
Showing 2 changed files with 576 additions and 576 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
default_language_version:
python: python3.8
python: python3

repos:
# Meta hooks
Expand All @@ -11,7 +11,7 @@ repos:

# Security & credential scanning/alerting
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: debug-statements
- id: detect-aws-credentials
Expand All @@ -31,24 +31,24 @@ repos:

# Formatters that may modify source files automatically
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.15.0
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies: ["black==23.7.0"]

- repo: https://github.com/asottile/pyupgrade
rev: v3.9.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: ["--py37-plus", "--keep-runtime-typing"]

# Linters and validation
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.286
rev: v0.0.292
hooks:
- id: ruff
args:
Expand All @@ -60,7 +60,7 @@ repos:
pass_filenames: false

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.4.1"
rev: "v1.5.1"
hooks:
- id: mypy
args: ["--config-file", "pyproject.toml"]
Expand All @@ -85,7 +85,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/jendrikseipp/vulture
rev: "v2.7"
rev: "v2.10"
hooks:
- id: vulture
args:
Expand All @@ -110,7 +110,7 @@ repos:

# GHA linting
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.23.3"
rev: "0.27.0"
hooks:
- id: check-github-workflows
- id: check-readthedocs
Expand Down

0 comments on commit 7f448f2

Please sign in to comment.