Skip to content

Ruff: add and fix some SIM rules #6883

Ruff: add and fix some SIM rules

Ruff: add and fix some SIM rules #6883

Triggered via pull request November 3, 2024 10:12
Status Failure
Total duration 18s
Artifacts

ruff.yml

on: pull_request
ruff-linting
9s
ruff-linting
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Ruff (SIM910): dojo/tools/ptart/ptart_parser_tools.py#L28
dojo/tools/ptart/ptart_parser_tools.py:28:12: SIM910 Use `effort_mapping.get(effort)` instead of `effort_mapping.get(effort, None)`
Ruff (SIM910): dojo/tools/ptart/ptart_parser_tools.py#L75
dojo/tools/ptart/ptart_parser_tools.py:75:12: SIM910 Use `fix_status_mapping.get(status)` instead of `fix_status_mapping.get(status, None)`
ruff-linting
Process completed with exit code 1.