chore: ruff fixes #265
Annotations
10 errors
Ruff (PLR2004):
explorer/charts.py#L36
explorer/charts.py:36:54: PLR2004 Magic value used in comparison, consider replacing 2 with a constant variable
|
Ruff (C419):
explorer/charts.py#L65
explorer/charts.py:65:16: C419 Unnecessary list comprehension
|
Ruff (C419):
explorer/charts.py#L97
explorer/charts.py:97:16: C419 Unnecessary list comprehension
|
Ruff (PLW2901):
explorer/exporters.py#L119
explorer/exporters.py:119:21: PLW2901 `for` loop variable `data` overwritten by assignment target
|
Ruff (PLW2901):
explorer/exporters.py#L122
explorer/exporters.py:122:21: PLW2901 `for` loop variable `data` overwritten by assignment target
|
Ruff (C417):
explorer/models.py#L379
explorer/models.py:379:35: C417 Unnecessary `map` usage (rewrite using a generator expression)
|
Ruff (C417):
explorer/models.py#L382
explorer/models.py:382:25: C417 Unnecessary `map` usage (rewrite using a `list` comprehension)
|
Ruff (C419):
explorer/schema.py#L30
explorer/schema.py:30:20: C419 Unnecessary list comprehension
|
Ruff (C419):
explorer/schema.py#L31
explorer/schema.py:31:20: C419 Unnecessary list comprehension
|
Ruff (PLR0913):
explorer/views/utils.py#L9
explorer/views/utils.py:9:5: PLR0913 Too many arguments in function definition (8 > 5)
|