Skip to content

Commit 44816b1

Browse files
committed
Django-stubs is weird
1 parent e0d7678 commit 44816b1

File tree

2 files changed

+1
-45
lines changed

2 files changed

+1
-45
lines changed

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ dev = [
4747
"coverage>=7.0",
4848
"ruff>=0.8",
4949
"mypy>=1.0",
50-
"django-stubs>=5.0",
5150
"jinja2>=3.1.6",
5251
]
5352

@@ -66,18 +65,14 @@ select = ["E", "F", "I", "UP", "B", "SIM"]
6665

6766
[tool.mypy]
6867
python_version = "3.12"
69-
plugins = ["mypy_django_plugin.main"]
7068
strict = false
7169
warn_return_any = true
7270
warn_unused_configs = true
7371

7472
[[tool.mypy.overrides]]
75-
module = "django.*"
73+
module = ["django.*", "markupsafe.*"]
7674
ignore_missing_imports = true
7775

78-
[tool.django-stubs]
79-
django_settings_module = "testproj.settings"
80-
8176
[tool.pytest.ini_options]
8277
DJANGO_SETTINGS_MODULE = "testproj.settings"
8378
pythonpath = ["src/testproj"]

uv.lock

Lines changed: 0 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)