Skip to content

Commit a33ebf2

Browse files
authored
[v3] Enable some more strict mypy options (#1793)
* Enable two more strict mypy options * Disallow untyped decorators
1 parent ce6fcbb commit a33ebf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,11 @@ namespace_packages = false
155155
warn_unused_configs = true
156156
warn_redundant_casts = true
157157
warn_unused_ignores = true
158-
158+
strict_equality = true
159+
strict_concatenate = true
159160

160161
check_untyped_defs = true
162+
disallow_untyped_decorators = true
161163

162164
[[tool.mypy.overrides]]
163165
module = [

0 commit comments

Comments
 (0)