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 as a project dependency + other patches #4278

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Conversation

theskumar
Copy link
Member

@theskumar theskumar commented Dec 12, 2024

Allow for better type hints when working with editors that support it. I'm using Zed with pywright linter. Recently, some type hints were added to the project. This help catch issues against the django default types and any custom types that are added to this codebase.

This doesn't add any runtime overhead.

This PR also these patch versions of these dependencies

  • Updated anyio v4.6.2.post1 -> v4.7.0
  • Updated boto3 v1.35.76 -> v1.35.79
  • Updated botocore v1.35.76 -> v1.35.79
  • Updated coverage v7.6.8 -> v7.6.9
  • Updated django-select2 v8.2.1 -> v8.2.3
  • Updated httpx v0.28.0 -> v0.28.1
  • Updated mkdocs-material v9.5.47 -> v9.5.48
  • Updated numpy v2.1.3 -> v2.2.0
  • Updated sentry-sdk v2.19.0 -> v2.19.2
  • Updated sqlparse v0.5.2 -> v0.5.3

https://github.com/typeddjango/django-stubs

@theskumar theskumar self-assigned this Dec 12, 2024
@theskumar theskumar requested a review from frjo December 12, 2024 06:42
Allow for better type hints when working with editors that support it.
I'm using Zed with pywright linter. The project has type hints here,
this help catch issues against the django default types and any custom
types that are added to this codebase.

This PR also these patch versions of these dependencies

Updated anyio v4.6.2.post1 -> v4.7.0
Updated boto3 v1.35.76 -> v1.35.79
Updated botocore v1.35.76 -> v1.35.79
Updated coverage v7.6.8 -> v7.6.9
Updated django-select2 v8.2.1 -> v8.2.3
Updated httpx v0.28.0 -> v0.28.1
Updated mkdocs-material v9.5.47 -> v9.5.48
Updated numpy v2.1.3 -> v2.2.0
Updated sentry-sdk v2.19.0 -> v2.19.2
Updated sqlparse v0.5.2 -> v0.5.3
@frjo frjo added Type: Maintenance Type: Patch Mini change, used in release drafter labels Dec 12, 2024
Copy link
Member

@frjo frjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to add mypy to the dev dependencies for this to work. At least for my editor, Sublime Text 3.

@theskumar
Copy link
Member Author

Added mypy as a dev-dependency.

@frjo frjo merged commit b7212e1 into main Dec 16, 2024
7 checks passed
@theskumar theskumar deleted the django-stubs branch December 20, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants