Skip to content

Commit

Permalink
Revert mypy changes and remove 3.7 category marker
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed May 24, 2024
1 parent cbfda8e commit 0cd979d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ classifiers=[
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -123,7 +122,6 @@ skip_gitignore = true
skip = ["./build", "./docs"]
known_first_party = ["outcome"]


[tool.mypy]
python_version = "3.8"

Expand All @@ -138,16 +136,16 @@ warn_unreachable = true
warn_return_any = true

# Avoid subtle backsliding
#disallow_any_decorated = true
disallow_any_generics = true
disallow_any_unimported = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_any_unimported = true
disallow_any_generics = true
disallow_any_explicit = false

check_untyped_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
check_untyped_defs = true
disallow_any_explicit = false
disallow_untyped_decorators = true

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

0 comments on commit 0cd979d

Please sign in to comment.