We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58edc4a commit fadeba2Copy full SHA for fadeba2
funnel/models/sponsor_membership.py
@@ -148,7 +148,7 @@ class __Profile:
148
lazy='dynamic',
149
primaryjoin=db.and_(
150
SponsorMembership.profile_id == Profile.id,
151
- SponsorMembership.record_type == MEMBERSHIP_RECORD_TYPE.INVITE,
+ SponsorMembership.record_type == MEMBERSHIP_RECORD_TYPE.INVITE, # type: ignore[has-type]
152
SponsorMembership.is_active,
153
),
154
order_by=SponsorMembership.granted_at.desc(),
setup.cfg
@@ -26,5 +26,6 @@ files = **/*.py
26
ignore_missing_imports = true
27
show_error_codes = true
28
warn_unreachable = true
29
-warn_unused_ignores = True
+# Unsafe with pre-commit, see https://github.com/python/mypy/issues/2960
30
+# warn_unused_ignores = True
31
plugins = sqlmypy
0 commit comments