Skip to content

config ruff as python linter #1

config ruff as python linter

config ruff as python linter #1

Triggered via push July 7, 2023 11:03
Status Failure
Total duration 19s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (B028): bigfish/classification/features.py#L829
bigfish/classification/features.py:829:9: B028 No explicit `stacklevel` keyword argument found
Ruff (B028): bigfish/classification/features.py#L1088
bigfish/classification/features.py:1088:9: B028 No explicit `stacklevel` keyword argument found
Ruff (B904): bigfish/deep_learning/__init__.py#L12
bigfish/deep_learning/__init__.py:12:5: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (B904): bigfish/deep_learning/__init__.py#L21
bigfish/deep_learning/__init__.py:21:5: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (C408): bigfish/deep_learning/utils_models.py#L322
bigfish/deep_learning/utils_models.py:322:18: C408 Unnecessary `dict` call (rewrite as a literal)
Ruff (C408): bigfish/deep_learning/utils_models.py#L350
bigfish/deep_learning/utils_models.py:350:18: C408 Unnecessary `dict` call (rewrite as a literal)
Ruff (C408): bigfish/deep_learning/utils_models.py#L375
bigfish/deep_learning/utils_models.py:375:18: C408 Unnecessary `dict` call (rewrite as a literal)
Ruff (B028): bigfish/detection/dense_decomposition.py#L265
bigfish/detection/dense_decomposition.py:265:9: B028 No explicit `stacklevel` keyword argument found
Ruff (B007): bigfish/detection/dense_decomposition.py#L446
bigfish/detection/dense_decomposition.py:446:9: B007 Loop control variable `i` not used within loop body
Ruff (B028): bigfish/detection/dense_decomposition.py#L810
bigfish/detection/dense_decomposition.py:810:9: B028 No explicit `stacklevel` keyword argument found