fix(hook-decorator): upgrade django-lifecycle and remove type: ignore[misc] comments#7890
fix(hook-decorator): upgrade django-lifecycle and remove type: ignore[misc] comments#7890afsuyadi wants to merge 2 commits into
Conversation
|
@afsuyadi is attempting to deploy a commit to the Flagsmith Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi @afsuyadi thanks for this contribution! I've unblocked How do you think we should proceed? |
7ee256e to
9a1f573
Compare
9a1f573 to
bf2ae79
Compare
📝 WalkthroughWalkthroughThis pull request bumps the pinned Estimated code review effort: 1 (Trivial) | ~5 minutes Changes
Sequence Diagram(s)Not applicable — this change consists solely of comment removals and a dependency version bump with no observable behavioural or flow changes. Related issues: None referenced in the provided changes. Related PRs: None referenced in the provided changes. Suggested labels: dependencies, chore, type-check Suggested reviewers: None specifically indicated by the diff content. Poem: Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 9a90c458-5cd3-4344-a6ab-fce04c9e3b68
📒 Files selected for processing (11)
api/audit/models.pyapi/environments/models.pyapi/experimentation/models.pyapi/features/feature_external_resources/models.pyapi/features/models.pyapi/features/release_pipelines/core/models.pyapi/features/workflows/core/models.pyapi/integrations/github/models.pyapi/projects/models.pyapi/pyproject.tomlapi/users/models.py
I think the errors are caused by upgrading By observing the logs, it seems there are two categories of error:
However, I am unsure of whether to fix all of them in this PR or split this out. Should I fix all of these in this PR, or open a separate PR dedicated to the typing fixes? @emyller |
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Contributes to #5240
# type: ignore[misc]comments from@hook-decorated methods across 10 filesHow did you test this code?
make typecheck; pass with no [misc] errorsmake testlocally for those 10 files; 2041 tests passed, 0 failures.Cli:
DJANGO_SETTINGS_MODULE=app.settings.test ./flagsmith/api/.venv/bin/pytest tests/unit/audit/ tests/unit/environments/ tests/unit/features/ tests/unit/projects/ tests/unit/users/ tests/unit/integrations/