Skip to content

Commit d8fbba0

Browse files
committed
Update mypy config & add py.typed
1 parent bdcc42c commit d8fbba0

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

pyproject.toml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,16 @@ package = true
7272

7373
[tool.mypy]
7474
files = ["src/statusbot/",]
75-
check_untyped_defs = true
76-
disallow_any_generics = true
77-
disallow_untyped_calls = true
78-
disallow_untyped_defs = true
79-
ignore_missing_imports = true
80-
no_implicit_optional = true
81-
no_implicit_reexport = true
8275
show_column_numbers = true
8376
show_error_codes = true
8477
show_traceback = true
78+
disallow_any_decorated = true
79+
disallow_any_unimported = true
80+
ignore_missing_imports = true
81+
local_partial_types = true
82+
no_implicit_optional = true
8583
strict = true
86-
strict_equality = true
87-
warn_redundant_casts = true
88-
warn_return_any = true
8984
warn_unreachable = true
90-
warn_unused_configs = true
91-
warn_unused_ignores = true
9285

9386
[tool.ruff.lint.isort]
9487
combine-as-imports = true

src/statusbot/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)