Skip to content

Commit 8cab7fe

Browse files
committed
fix linting
Signed-off-by: Lance-Drane <Lance-Drane@users.noreply.github.com>
1 parent 62be48c commit 8cab7fe

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/intersect_orchestrator/app/core/log_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"""Log levels are based off of the Bunyan format specification's log levels, not Python's."""
3232

3333

34-
def _use_bunyan_structure(_: Any, _name: str, event_dict: EventDict) -> EventDict: # noqa: ARG001
34+
def _use_bunyan_structure(_: Any, _name: str, event_dict: EventDict) -> EventDict:
3535
"""
3636
Match Bunyan format: https://github.com/trentm/node-bunyan?tab=readme-ov-file#core-fields
3737
"""
@@ -43,7 +43,7 @@ def _use_bunyan_structure(_: Any, _name: str, event_dict: EventDict) -> EventDic
4343
return event_dict
4444

4545

46-
def _drop_color_message_key(_: Any, _name: str, event_dict: EventDict) -> EventDict: # noqa: ARG001
46+
def _drop_color_message_key(_: Any, _name: str, event_dict: EventDict) -> EventDict:
4747
"""
4848
Uvicorn logs the message a second time in the extra `color_message`, but we don't
4949
need it. This processor drops the key from the event dict if it exists.

src/intersect_orchestrator/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
@asynccontextmanager
23-
async def lifespan(_app: FastAPI) -> typing.AsyncGenerator[None, None]: # noqa: ARG001
23+
async def lifespan(_app: FastAPI) -> typing.AsyncGenerator[None, None]:
2424
# On startup
2525
logger.info('Initializing app')
2626

tests/unit/test_campaign_orchestrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def test_iterative_campaign_two_iterations() -> None:
742742

743743
orchestrator.submit_campaign(campaign)
744744

745-
for _ in range(2): # noqa: B007
745+
for _ in range(2):
746746
# Both tasks dispatch in parallel; complete them in order
747747
orchestrator.handle_request_reply_broker_message(
748748
b'{}',

0 commit comments

Comments
 (0)