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.5.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.5.0...v5.0.0)
- [github.com/python-jsonschema/check-jsonschema: 0.27.3 → 0.30.0](python-jsonschema/check-jsonschema@0.27.3...0.30.0)
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.8.4](astral-sh/ruff-pre-commit@v0.1.14...v0.8.4)
- [github.com/pycqa/bandit: 1.7.7 → 1.8.0](PyCQA/bandit@1.7.7...1.8.0)
  • Loading branch information
pre-commit-ci[bot] authored Dec 23, 2024
1 parent 1c3330c commit 2be6aa8
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,57 @@ ci:
default_language_version:
python: python3.12

default_stages: [commit]
default_stages: [pre-commit]

repos:
# general checks (see here: https://pre-commit.com/hooks.html)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
stages: [commit]
stages: [pre-commit]
- id: check-yaml
args: [--allow-multiple-documents]
stages: [commit, manual]
stages: [pre-commit, manual]
- id: check-toml
stages: [commit, manual]
stages: [pre-commit, manual]
- id: end-of-file-fixer
stages: [commit, manual]
stages: [pre-commit, manual]
- id: trailing-whitespace
stages: [commit, manual]
stages: [pre-commit, manual]
- id: check-added-large-files
stages: [commit, manual]
stages: [pre-commit, manual]
- id: check-ast
stages: [commit, manual]
stages: [pre-commit, manual]
- id: name-tests-test
args: ["--pytest-test-first"]
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.30.0
hooks:
- id: check-github-actions
args: ["--verbose"]
stages: [commit, manual]
stages: [pre-commit, manual]
- id: check-github-workflows
args: ["--verbose"]
stages: [commit, manual]
stages: [pre-commit, manual]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
- tomli
stages: [commit, manual]
stages: [pre-commit, manual]

# ruff - linting and formatting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.14"
rev: "v0.8.4"
hooks:
- id: ruff
name: ruff
stages: [commit, manual]
stages: [pre-commit, manual]

# mypy - lint-like type checking
# - repo: https://github.com/pre-commit/mirrors-mypy
Expand All @@ -72,7 +72,7 @@ repos:
args: [--in-place]
additional_dependencies: [tomli]
files: (^src/|^tests/|^docs/)
stages: [commit, manual]
stages: [pre-commit, manual]

# prettier - formatting JS, CSS, JSON, Markdown, ...
- repo: https://github.com/pre-commit/mirrors-prettier
Expand All @@ -81,19 +81,19 @@ repos:
- id: prettier
exclude: (^poetry.lock|docs/_sidebar.yml)
types_or: [css, javascript, markdown, yaml, json]
stages: [commit, manual]
stages: [pre-commit, manual]

# bandit - find common security issues
- repo: https://github.com/pycqa/bandit
rev: 1.7.7
rev: 1.8.0
hooks:
- id: bandit
name: bandit
exclude: ^tests/
args:
- -r
- src
stages: [commit]
stages: [pre-commit]

- repo: local
hooks:
Expand All @@ -103,4 +103,4 @@ repos:
language: system
types: [python]
pass_filenames: false
stages: [commit]
stages: [pre-commit]

0 comments on commit 2be6aa8

Please sign in to comment.