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

Fix type of prefix arg in staticfiles_urlpatterns #74

Merged
merged 1 commit into from
May 19, 2019

Conversation

aszlig
Copy link
Contributor

@aszlig aszlig commented May 3, 2019

Using a type of None for the prefix keyword argument is not going to typecheck very well, so it might be a typo here because the default value (rather than the type) is None.

Using a *type* of None for the prefix keyword argument is not going to
typecheck very well, so it might be a typo here because the default
value (rather than the type) is None.

Signed-off-by: aszlig <aszlig@nix.build>
@aszlig
Copy link
Contributor Author

aszlig commented May 3, 2019

@mkurnikov: Hm, is CI currently broken? It can't find mypy/pytest.

@mkurnikov mkurnikov closed this May 17, 2019
@mkurnikov mkurnikov reopened this May 17, 2019
@mkurnikov mkurnikov merged commit d7d7e6c into typeddjango:master May 19, 2019
voidus pushed a commit to voidus/django-stubs that referenced this pull request Apr 23, 2024
This finishes the work done in typeddjango#126. Commits are cherry-picked to give the original author credit.

I also removed psycopg2 tests as they are typeshed's problem now.

Fixes typeddjango#74
Closes typeddjango#126
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants