-
Notifications
You must be signed in to change notification settings - Fork 6
WIP: add mypy as static type checker #5678
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
Open
goapunk
wants to merge
18
commits into
main
Choose a base branch
from
jd-2024-07-mypy-type-checker
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…xclude list as it clashes too often
Currently translated at 100.0% (998 of 998 strings) Co-authored-by: Carolin Klingsporn <[email protected]> Translate-URL: https://weblate.liqd.net/projects/meinberlin/main/de/ Translation: meinBerlin/main
c165413 to
ba43c52
Compare
- refactor ParagraphForm.jsx to new django-ckeditor-5 api - update django-ckeditor-5 - add setting to limit file uploads to 5mb
- extend logic from projects to external projects and plans - add signal to reset cache when new phases are created - add and update tests for some more cases - improve queries with some selecte_related / prefetch_related - use delay_on_commit for tasks called via signals to prevent race condition - update celery to 5.4.0
- add module publish and unpublish signals to refresh the cache - add project_component_updated signal to refresh the cache fixes #5684
ba43c52 to
7887b38
Compare
Author
|
@m4ra I was playing around with this a while ago when I realized I had added a wrong type hint and thought having a check for it would be nice, but it also means we have to add type hints a lot, so I'm not really sure if it's worth it. What do you think? |
Contributor
|
I am up for it. However this workflow needs 18 fixes for the tests to pass /: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes
Briefly explain what you did and provide context for a clearer understanding.
Tasks