Skip to content

Commit 3dbbeec

Browse files
authored
Check for usages of deprecated using the type checker (#284)
1 parent 6441507 commit 3dbbeec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ default-groups = "all"
8282
[tool.mypy]
8383
ignore_missing_imports = true
8484
strict = true
85-
# TODO: Remove this when explicit-override is enabled by default in strict mode
86-
# https://github.com/python/mypy/issues/17511
87-
enable_error_code = ["explicit-override"]
85+
enable_error_code = ["deprecated", "explicit-override"]
8886
# If certain strict config options are too pedantic for a project,
8987
# disable them selectively here by setting to false.
9088

0 commit comments

Comments
 (0)