Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update pre-commit hooks #2161

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-case-conflict
- id: check-ast
Expand All @@ -21,12 +21,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.4
rev: 0.29.4
hooks:
- id: check-github-workflows

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
rev: 0.7.18
hooks:
- id: mdformat
additional_dependencies:
Expand All @@ -39,7 +39,7 @@ repos:
types_or: [yaml, html, json]

- repo: https://github.com/adamchainz/blacken-docs
rev: "1.16.0"
rev: "1.19.1"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]
Expand All @@ -51,7 +51,7 @@ repos:
args: ["-L", "sur,nd,assertin"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.0"
rev: "v1.13.0"
hooks:
- id: mypy
files: "^nbconvert"
Expand Down Expand Up @@ -81,7 +81,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.7.2
hooks:
- id: ruff
types_or: [python, jupyter]
Expand All @@ -90,7 +90,7 @@ repos:
types_or: [python, jupyter]

- 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]"]
2 changes: 1 addition & 1 deletion tests/exporters/test_webpdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class TestWebPDFExporter(ExportersTestsBase):

exporter_class = WebPDFExporter # type:ignore

@pytest.mark.network()
@pytest.mark.network
def test_export(self):
"""
Can a TemplateExporter export something?
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nbconvertapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_filename_spaces(self):
assert os.path.isfile("notebook with spaces.pdf")

@flaky
@pytest.mark.network()
@pytest.mark.network
@pytest.mark.skipif(not PLAYWRIGHT_INSTALLED, reason="Playwright not installed")
def test_webpdf_with_chromium(self):
"""
Expand Down
Loading