Skip to content

Commit 0cd979d

Browse files
committed
Revert mypy changes and remove 3.7 category marker
1 parent cbfda8e commit 0cd979d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ classifiers=[
2222
"Programming Language :: Python :: Implementation :: CPython",
2323
"Programming Language :: Python :: Implementation :: PyPy",
2424
"Programming Language :: Python :: 3 :: Only",
25-
"Programming Language :: Python :: 3.7",
2625
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
@@ -123,7 +122,6 @@ skip_gitignore = true
123122
skip = ["./build", "./docs"]
124123
known_first_party = ["outcome"]
125124

126-
127125
[tool.mypy]
128126
python_version = "3.8"
129127

@@ -138,16 +136,16 @@ warn_unreachable = true
138136
warn_return_any = true
139137

140138
# Avoid subtle backsliding
141-
#disallow_any_decorated = true
142-
disallow_any_generics = true
143-
disallow_any_unimported = true
144139
disallow_incomplete_defs = true
145140
disallow_subclassing_any = true
141+
disallow_any_unimported = true
142+
disallow_any_generics = true
143+
disallow_any_explicit = false
144+
145+
check_untyped_defs = true
146146
disallow_untyped_calls = true
147-
disallow_untyped_decorators = true
148147
disallow_untyped_defs = true
149-
check_untyped_defs = true
150-
disallow_any_explicit = false
148+
disallow_untyped_decorators = true
151149

152150
# DO NOT use `ignore_errors`; it doesn't apply
153151
# downstream and users have to deal with them.

0 commit comments

Comments
 (0)