Skip to content

Commit 5781720

Browse files
[pre-commit.ci] pre-commit autoupdate (#364)
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 785a89e commit 5781720

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 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.22.0
23+
rev: 0.23.1
2424
hooks:
2525
- id: check-github-workflows
2626

@@ -35,7 +35,7 @@ repos:
3535
- id: black
3636

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

nbformat/json_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _validator_for_name(validator_name):
101101
if module and validator_name == name:
102102
return validator_cls
103103
# we always return something.
104-
msg = f"Missing validator for {repr(validator_name)}"
104+
msg = f"Missing validator for {validator_name!r}"
105105
raise ValueError(msg)
106106

107107

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.263"]
88+
dependencies = ["black[jupyter]==23.3.0", "mdformat>0.7", "ruff==0.0.270"]
8989
detached = true
9090
[tool.hatch.envs.lint.scripts]
9191
style = [

0 commit comments

Comments
 (0)