chore(api): add mypy django stubs plugins (#1726)
This commit is contained in:
parent
8a98542aa4
commit
9d5de61241
|
@ -13,6 +13,15 @@ disable = [
|
|||
[tool.pylint.design]
|
||||
max-parents = 15
|
||||
|
||||
[tool.mypy]
|
||||
plugins = [
|
||||
"mypy_django_plugin.main",
|
||||
"mypy_drf_plugin.main",
|
||||
]
|
||||
|
||||
[tool.django-stubs]
|
||||
django_settings_module = "libretime_api.settings.testing"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -41,6 +41,8 @@ setup(
|
|||
"psycopg2",
|
||||
],
|
||||
"dev": [
|
||||
"django-stubs",
|
||||
"djangorestframework-stubs",
|
||||
"model_bakery",
|
||||
"psycopg2-binary",
|
||||
"pylint-django",
|
||||
|
|
Loading…
Reference in New Issue