Skip to content

Commit 5634503

Browse files
committed
Remove type ignore that's no longer needed
mypy > 0.940 seems to understand that modules are Any (ish).
1 parent 1e4028c commit 5634503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_lightweight_queue/cron_scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def get_matcher(minval, maxval, t):
144144
# No module, move on.
145145
continue
146146

147-
app_cron_config: List[CronConfig] = mod.CONFIG # type: ignore[attr-defined]
147+
app_cron_config: List[CronConfig] = mod.CONFIG
148148
for row in app_cron_config:
149149
row['min_matcher'] = get_matcher(0, 59, row.get('minutes'))
150150
row['hour_matcher'] = get_matcher(0, 23, row.get('hours'))

0 commit comments

Comments
 (0)