Skip to content

Commit d0e274e

Browse files
committed
Move mypy settings to pyproject.toml
1 parent 1b67888 commit d0e274e

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

mypy.ini

-12
This file was deleted.

pyproject.toml

+13
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ minversion = "6.0"
44
xfail_strict = true
55
addopts = ["--color=yes"]
66

7+
[tool.mypy]
8+
python_version = "3.10"
9+
no_implicit_optional = false
10+
strict_optional = true
11+
warn_redundant_casts = false
12+
check_untyped_defs = false
13+
disallow_untyped_calls = false
14+
disallow_incomplete_defs = false
15+
disallow_untyped_defs = false
16+
disallow_untyped_decorators = false
17+
ignore_missing_imports = true
18+
warn_unused_ignores = false
19+
720
[tool.ruff]
821
line-length = 100
922
target-version = "py310"

0 commit comments

Comments
 (0)