Skip to content

Commit

Permalink
⬆️ Bump pre-commit hooks (#48)
Browse files Browse the repository at this point in the history
* ⬆️ Bump pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.8.1](astral-sh/ruff-pre-commit@v0.7.3...v0.8.1)
- [github.com/rbubley/mirrors-prettier: v3.3.3 → v3.4.1](rbubley/mirrors-prettier@v3.3.3...v3.4.1)
- [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.30.0](python-jsonschema/check-jsonschema@0.29.4...0.30.0)
- [github.com/henryiii/validate-pyproject-schema-store: 2024.10.21 → 2024.11.25](henryiii/validate-pyproject-schema-store@2024.10.21...2024.11.25)

* 💚 Revert back to `rev: 2024.10.21` of `validate-pyproject-schema-store`

* ⬆️ Bump pre-commit hooks

updates:
- [github.com/sirosen/texthooks: 0.6.7 → 0.6.8](sirosen/texthooks@0.6.7...0.6.8)
- [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.2](astral-sh/ruff-pre-commit@v0.8.1...v0.8.2)
- [github.com/rbubley/mirrors-prettier: v3.4.1 → v3.4.2](rbubley/mirrors-prettier@v3.4.1...v3.4.2)
- [github.com/henryiii/validate-pyproject-schema-store: 2024.10.21 → 2024.11.25](henryiii/validate-pyproject-schema-store@2024.10.21...2024.11.25)

* 🎨 Incorporated pre-commit fixes

* ⬇️ Revert version bump of `validate-pyproject-schema-store`

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Marcel Walter <marcel.walter@tum.de>
  • Loading branch information
pre-commit-ci[bot] and marcelwa authored Dec 12, 2024
1 parent 3836bb9 commit 97c67fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:

# Handle unwanted unicode characters
- repo: https://github.com/sirosen/texthooks
rev: 0.6.7
rev: 0.6.8
hooks:
- id: fix-ligatures
- id: fix-smartquotes
Expand All @@ -46,7 +46,7 @@ repos:

# Python linting using ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.8.2
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -86,7 +86,7 @@ repos:

# Format configuration files with prettier
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.4.1
rev: v3.4.2
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
Expand Down
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ def _run_tests(
if shutil.which("ninja") is None:
session.install("ninja")

_extras = ["test", *extras]
extras_ = ["test", *extras]
if "--cov" in posargs:
_extras.append("coverage")
extras_.append("coverage")
posargs.append("--cov-config=pyproject.toml")

session.install(*BUILD_REQUIREMENTS, *install_args, env=env)
install_arg = f"-ve.[{','.join(_extras)}]"
install_arg = f"-ve.[{','.join(extras_)}]"
session.install("--no-build-isolation", install_arg, *install_args, env=env)
session.run("pytest", *run_args, *posargs, env=env)

Expand Down

0 comments on commit 97c67fe

Please sign in to comment.