Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.4.0...v5.0.0)
- [github.com/PyCQA/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2)
- [github.com/asottile/pyupgrade: v3.7.0 → v3.18.0](asottile/pyupgrade@v3.7.0...v3.18.0)
- [github.com/psf/black: 23.3.0 → 24.10.0](psf/black@23.3.0...24.10.0)
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.0-alpha.9-for-vscode...v4.0.0-alpha.8)
- [github.com/PyCQA/flake8: 6.0.0 → 7.1.1](PyCQA/flake8@6.0.0...7.1.1)
- [github.com/PyCQA/bandit: 1.7.5 → 1.7.10](PyCQA/bandit@1.7.5...1.7.10)
- [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.12.1](pre-commit/mirrors-mypy@v1.3.0...v1.12.1)
- [github.com/PyCQA/doc8: v1.1.1 → v1.1.2](PyCQA/doc8@v1.1.1...v1.1.2)
- [github.com/rstcheck/rstcheck: v6.1.2 → v6.2.4](rstcheck/rstcheck@v6.1.2...v6.2.4)
- [github.com/AleksaC/hadolint-py: v2.12.0.2 → v2.12.1b3](AleksaC/hadolint-py@v2.12.0.2...v2.12.1b3)
  • Loading branch information
pre-commit-ci[bot] authored Oct 21, 2024
1 parent c7623eb commit 24c60d2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:

# Other file formatting, plus common Git mistakes & text file standardization:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-added-large-files # Don't accidentally commit giant files.
- id: check-merge-conflict # Watch for lingering merge markers.
Expand All @@ -37,7 +37,7 @@ repos:

# Make sure import statements are sorted uniformly.
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

Expand All @@ -58,20 +58,20 @@ repos:
# Update a bunch of Python syntax, using __futures__ for Python 3.8/3.9
# Note that this sometimes conflicts with Pydantic on Python 3.8/3.9
- repo: https://github.com/asottile/pyupgrade
rev: v3.7.0
rev: v3.18.0
hooks:
- id: pyupgrade
args: ["--py311-plus"]

# Deterministic python formatting:
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.10.0
hooks:
- id: black
language_version: python3.11

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [yaml]
Expand All @@ -82,7 +82,7 @@ repos:

# Check for PEP8 non-compliance, code complexity, style, errors, etc:
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
args: ["--config", "tox.ini"]
Expand All @@ -100,15 +100,15 @@ repos:

# Check for known security vulnerabilities:
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.7.10
hooks:
- id: bandit
# Currently no configuration...
# args: ['--configfile', '.bandit.yml']

# Use type annotations to check types
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
rev: v1.12.1
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -119,22 +119,22 @@ repos:

# Check for errors in restructuredtext (.rst) files under the doc hierarchy
- repo: https://github.com/PyCQA/doc8
rev: v1.1.1
rev: v1.1.2
hooks:
- id: doc8
args: ["--config", "tox.ini"]

# Lint any RST files and embedded code blocks for syntax / formatting errors
- repo: https://github.com/rstcheck/rstcheck
rev: v6.1.2
rev: v6.2.4
hooks:
- id: rstcheck
additional_dependencies: [sphinx]
args: ["--config", "tox.ini"]

# Lint Dockerfiles for errors and to ensure best practices
- repo: https://github.com/AleksaC/hadolint-py
rev: v2.12.0.2
rev: v2.12.1b3
hooks:
- id: hadolint

Expand All @@ -146,7 +146,7 @@ repos:
# clear outputs from Jupyter notebooks
- id: nb-output-clear
name: nb-output-clear
stages: [commit]
stages: [pre-commit]
language: system
verbose: false
pass_filenames: false
Expand All @@ -155,7 +155,7 @@ repos:
# Run the unit tests
- id: unit-tests
name: unit-tests
stages: [commit]
stages: [pre-commit]
language: system
verbose: false
pass_filenames: false
Expand Down

0 comments on commit 24c60d2

Please sign in to comment.