Skip to content

Commit 49c226d

Browse files
fix(ci): ignore RUF067 rule and fix mypy typing error
1 parent 96ce410 commit 49c226d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ ignore = [
531531
"FIX003", # XXX: Enable later - Too many X*X
532532
"FIX002", # XXX: Enable later - Too many T0D0s
533533
"RUF012", # XXX Enable later - Mutable class attributes should be annotated with `typing.ClassVar`
534+
"RUF067", # __init__ module should only contain docstrings and re-exports
534535
"CPY001", # Missing copyright notice at top of file
535536
"PLR6301", # XXX Method could be a function or static method -- needs allow list or @override support
536537
"E203", # XXX whitespace-before-punctuation -- still unstable with black formatting

src/firefighter/incidents/tasks/updateoncall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def update_oncall() -> None:
3434
fetch_oncalls.s() # pyright: ignore[reportUnboundVariable]
3535
| update_oncall_views.s()
3636
)
37-
chain()
37+
chain.apply_async()
3838

3939

4040
@shared_task(name="incidents.update_oncall_views")

0 commit comments

Comments
 (0)