Ruff: add PERF #6109
Triggered via pull request
September 17, 2024 16:27
Status
Failure
Total duration
1m 29s
Artifacts
–
Annotations
10 errors
Ruff (PERF401):
dojo/api_v2/serializers.py#L1427
dojo/api_v2/serializers.py:1427:13: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF401):
dojo/api_v2/serializers.py#L1713
dojo/api_v2/serializers.py:1713:21: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF401):
dojo/api_v2/serializers.py#L1851
dojo/api_v2/serializers.py:1851:17: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF401):
dojo/api_v2/serializers.py#L1942
dojo/api_v2/serializers.py:1942:17: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF401):
dojo/api_v2/serializers.py#L1960
dojo/api_v2/serializers.py:1960:21: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF401):
dojo/api_v2/serializers.py#L2774
dojo/api_v2/serializers.py:2774:13: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF401):
dojo/checks.py#L10
dojo/checks.py:10:17: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF203):
dojo/endpoint/utils.py#L286
dojo/endpoint/utils.py:286:9: PERF203 `try`-`except` within a loop incurs performance overhead
|
Ruff (PERF401):
dojo/endpoint/utils.py#L288
dojo/endpoint/utils.py:288:17: PERF401 Use a list comprehension to create a transformed list
|
Ruff (PERF401):
dojo/endpoint/utils.py#L345
dojo/endpoint/utils.py:345:13: PERF401 Use a list comprehension to create a transformed list
|