File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,6 @@ python_version = "3.8"
66
66
module = " starlette.testclient.*"
67
67
implicit_optional = true
68
68
69
- # TODO: Uncomment the following configuration when
70
- # https://github.com/python/mypy/issues/10045 is solved. In the meantime,
71
- # we are calling `mypy tests` directly. Check `scripts/check` for more info.
72
- # [[tool.mypy.overrides]]
73
- # module = "tests.*"
74
- # disallow_untyped_defs = false
75
- # check_untyped_defs = true
76
-
77
69
[tool .pytest .ini_options ]
78
70
addopts = " -rxXs --strict-config --strict-markers"
79
71
xfail_strict = true
Original file line number Diff line number Diff line change 12
12
${PREFIX} ruff format --check --diff $SOURCE_FILES
13
13
# TODO: Use `[[tool.mypy.overrides]]` on the `pyproject.toml` when the mypy issue is solved:
14
14
# github.com/python/mypy/issues/10045. Check github.com/encode/starlette/pull/2180 for more info.
15
- ${PREFIX} mypy starlette
16
- ${PREFIX} mypy tests --disable-error-code no-untyped-def --disable-error-code no-untyped-call
15
+ ${PREFIX} mypy $SOURCE_FILES
17
16
${PREFIX} ruff check $SOURCE_FILES
You can’t perform that action at this time.
0 commit comments