Skip to content

Commit 87662e9

Browse files
authored
Enable additional mypy checks (#91)
1 parent c6fa3b3 commit 87662e9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

_flake8_tergeo/checks/wrappers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
class BugBearPlugin(_BugBearPlugin):
2424
"""BugBearPlugin with custom fixes."""
2525

26+
@override
2627
@lru_cache # noqa: FTP074
2728
def should_warn(self, code: str) -> bool:
2829
"""Adjust should_warn.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ strict = true
9797
warn_unused_ignores = false
9898
warn_return_any = false
9999
disable_error_code = ["type-abstract"]
100+
enable_error_code = ["explicit-override", "possibly-undefined", "ignore-without-code", "deprecated"]
101+
strict_bytes = true
100102
# output
101103
pretty = true
102104
show_column_numbers = true

0 commit comments

Comments
 (0)