Skip to content

Commit 6c9fbba

Browse files
authored
Merge pull request #1285 from python-jsonschema/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents a48161e + e028780 commit 6c9fbba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
args: [--fix, lf]
1717
- id: trailing-whitespace
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: "v0.5.1"
19+
rev: "v0.5.2"
2020
hooks:
2121
- id: ruff
2222
args: [--fix, --exit-non-zero-on-fix]

jsonschema/tests/test_deprecations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_RefResolver(self):
183183
self.assertEqual(w.filename, __file__)
184184

185185
with self.assertWarnsRegex(DeprecationWarning, message) as w:
186-
from jsonschema.validators import RefResolver # noqa: F401, F811
186+
from jsonschema.validators import RefResolver # noqa: F401
187187
self.assertEqual(w.filename, __file__)
188188

189189
def test_RefResolutionError(self):

0 commit comments

Comments
 (0)