Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add django-stubs to the list of projects #124

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 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,19 @@ 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,
),
]
assert len(projects) == len({p.name for p in projects})
for p in projects:
Expand Down
Loading