We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60f95f commit a477986Copy full SHA for a477986
.pre-commit-config.yaml
@@ -53,6 +53,8 @@ repos:
53
rev: v3.17.0
54
hooks:
55
- id: pyupgrade
56
+ args:
57
+ - "--py39-plus"
58
stages: [manual]
59
- repo: local
60
testing/code/test_source.py
@@ -336,7 +336,7 @@ def test_findsource(monkeypatch) -> None:
336
assert src is not None
337
assert "if 1:" in str(src)
338
339
- d: Dict[str, Any] = {}
+ d: dict[str, Any] = {}
340
eval(co, d)
341
src, lineno = findsource(d["x"])
342
0 commit comments