Skip to content

Commit

Permalink
Add django-stubs to the list of projects (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Jul 23, 2024
1 parent 57a892b commit 541bb89
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mypy_primer/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# - https://github.com/NeilGirdhar/efax
# - https://github.com/google/duet
# - https://github.com/RobertCraigie/prisma-client-py
# - https://github.com/typeddjango/django-stubs


def update_projects(projects: list[Project], check: bool = False) -> None:
Expand Down Expand Up @@ -1207,6 +1208,21 @@ def get_projects() -> list[Project]:
mypy_cmd="{mypy} beartype",
pyright_cmd="{pyright}",
),
Project(
location="https://github.com/typeddjango/django-stubs",
mypy_cmd="{mypy} django-stubs",
pyright_cmd=None,
deps=[
"django",
"asgiref",
"django-stubs-ext",
"tomli",
"types-PyYAML",
],
needs_mypy_plugins=True,
expected_mypy_success=True,
install_cmd="{install} .",
),
]
assert len(projects) == len({p.name for p in projects})
for p in projects:
Expand Down

0 comments on commit 541bb89

Please sign in to comment.