Skip to content

Commit 8cb2789

Browse files
[pre-commit.ci] pre-commit autoupdate (#367)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/python-jsonschema/check-jsonschema: 0.23.1 → 0.23.2](python-jsonschema/check-jsonschema@0.23.1...0.23.2) - https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.270 → v0.0.276](astral-sh/ruff-pre-commit@v0.0.270...v0.0.276) * sync deps and lint --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <[email protected]>
1 parent 5781720 commit 8cb2789

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: trailing-whitespace
2121

2222
- repo: https://github.com/python-jsonschema/check-jsonschema
23-
rev: 0.23.1
23+
rev: 0.23.2
2424
hooks:
2525
- id: check-github-workflows
2626

@@ -34,8 +34,8 @@ repos:
3434
hooks:
3535
- id: black
3636

37-
- repo: https://github.com/charliermarsh/ruff-pre-commit
38-
rev: v0.0.270
37+
- repo: https://github.com/astral-sh/ruff-pre-commit
38+
rev: v0.0.276
3939
hooks:
4040
- id: ruff
4141
args: ["--fix"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ dependencies = ["mypy>=0.990"]
8585
test = "mypy --install-types --non-interactive {args:nbformat tests}"
8686

8787
[tool.hatch.envs.lint]
88-
dependencies = ["black[jupyter]==23.3.0", "mdformat>0.7", "ruff==0.0.270"]
88+
dependencies = ["black[jupyter]==23.3.0", "mdformat>0.7", "ruff==0.0.276"]
8989
detached = true
9090
[tool.hatch.envs.lint.scripts]
9191
style = [

tests/v3/test_nbpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class TestPy(formattest.NBFormatTest, TestCase):
1010
nb0_ref = nb0_py
1111
ext = "py"
1212
mod = nbpy
13-
ignored_keys = ["collapsed", "outputs", "prompt_number", "metadata"]
13+
ignored_keys = ["collapsed", "outputs", "prompt_number", "metadata"] # noqa
1414

1515
def assertSubset(self, da, db):
1616
"""assert that da is a subset of db, ignoring self.ignored_keys.

0 commit comments

Comments
 (0)