Skip to content

Commit e5c4684

Browse files
committed
Ensure @OverRide is added to every overriding method/property (#74)
Add @OverRide decorators and make mypy check for missing override decorators
1 parent 1e960ff commit e5c4684

File tree

12 files changed

+345
-7
lines changed

12 files changed

+345
-7
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ testing = [
4646
"typing_extensions"
4747
]
4848

49+
[tool.mypy]
50+
enable_error_code = "explicit-override"
4951

5052
[tool.setuptools.packages.find]
5153
where = ["src"]

0 commit comments

Comments
 (0)