Jira webhook: stop mis-mitigating findings on non-"done" issues #20238
Annotations
2 errors
|
ruff-linting
Process completed with exit code 1.
|
|
ruff (SIM108):
dojo/jira_link/helper.py#L1936
dojo/jira_link/helper.py:1936:5: SIM108 Use ternary operator `resolved = resolution_id is not None if status_category_key is None else status_category_key == "done"` instead of `if`-`else`-block
help: Replace `if`-`else`-block with `resolved = resolution_id is not None if status_category_key is None else status_category_key == "done"`
|