Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks (#676)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.1 →
v0.6.2](astral-sh/ruff-pre-commit@v0.6.1...v0.6.2)
- [github.com/pre-commit/mirrors-mypy: v1.11.1 →
v1.11.2](pre-commit/mirrors-mypy@v1.11.1...v1.11.2)
- [github.com/crate-ci/typos: v1.23.6 →
v1.24.1](crate-ci/typos@v1.23.6...v1.24.1)
- [github.com/scientific-python/cookie: 2024.04.23 →
2024.08.19](scientific-python/cookie@2024.04.23...2024.08.19)
- [github.com/python-jsonschema/check-jsonschema: 0.29.1 →
0.29.2](python-jsonschema/check-jsonschema@0.29.1...0.29.2)
- [github.com/henryiii/validate-pyproject-schema-store: 2024.08.08 →
2024.08.19](henryiii/validate-pyproject-schema-store@2024.08.08...2024.08.19)
<!--pre-commit.ci end-->

---------

Signed-off-by: burgholzer <burgholzer@me.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: burgholzer <burgholzer@me.com>
  • Loading branch information
pre-commit-ci[bot] and burgholzer authored Aug 30, 2024
1 parent 41eea72 commit 28dc65e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ repos:

# Python linting using ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.1
rev: v0.6.3
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format

# Static type checking using mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
rev: v1.11.2
hooks:
- id: mypy
files: ^(src/mqt|test/python)
Expand Down Expand Up @@ -107,7 +107,7 @@ repos:

# Check for spelling
- repo: https://github.com/crate-ci/typos
rev: v1.23.6
rev: v1.24.1
hooks:
- id: typos

Expand All @@ -122,21 +122,21 @@ repos:

# Check best practices for scientific Python code
- repo: https://github.com/scientific-python/cookie
rev: 2024.04.23
rev: 2024.08.19
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]

# Check JSON schemata
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.1
rev: 0.29.2
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-readthedocs

# Check the pyproject.toml file
- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2024.08.08
rev: 2024.08.26
hooks:
- id: validate-pyproject
8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@ anc = "anc"
mch = "mch"


[tool.repo-review]
ignore = [
"PC160", # "Uses codespell" -> switched to https://github.com/crate-ci/typos
"PC180", # "Uses prettier" -> switched to different prettier-mirror that is not recognized by the check
"RF003", # "src directory specified if used" -> obsolete for new ruff versions
]


[tool.cibuildwheel]
build = "cp3*"
skip = "*-musllinux_*"
Expand Down

0 comments on commit 28dc65e

Please sign in to comment.