Skip to content

Commit

Permalink
chore: update pre-commit hooks (#7174)
Browse files Browse the repository at this point in the history
* chore: update pre-commit hooks

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.27.1 → 0.27.2](python-jsonschema/check-jsonschema@0.27.1...0.27.2)
- [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](pre-commit/mirrors-mypy@v1.6.1...v1.7.1)
- [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](astral-sh/ruff-pre-commit@v0.1.5...v0.1.6)
- [github.com/scientific-python/cookie: 2023.10.27 → 2023.11.17](scientific-python/cookie@2023.10.27...2023.11.17)

* Update pyproject.toml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Tuloup <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and jtpio authored Dec 5, 2023
1 parent 42fffbb commit 644c393
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.1
rev: 0.27.2
hooks:
- id: check-github-workflows

Expand All @@ -44,7 +44,7 @@ repos:
)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
rev: "v1.7.1"
hooks:
- id: mypy
files: "^notebook"
Expand All @@ -60,7 +60,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.5
rev: v0.1.6
hooks:
- id: ruff
types_or: [ python, jupyter ]
Expand All @@ -71,7 +71,7 @@ repos:
exclude: '^docs/source/examples/Notebook/Importing Notebooks.ipynb'

- repo: https://github.com/scientific-python/cookie
rev: '2023.10.27'
rev: '2023.11.17'
hooks:
- id: sp-repo-review
additional_dependencies: ['repo-review[cli]']
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ source = ["notebook"]
files = "notebook"
python_version = "3.8"
strict = true
show_error_codes = true
hide_error_codes = false
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true

Expand Down

0 comments on commit 644c393

Please sign in to comment.