Update linters in Ruff #362
Annotations
10 errors
Ruff (I001):
docs/conf.py#L17
docs/conf.py:17:1: I001 Import block is un-sorted or un-formatted
|
Ruff (UP032):
docs/conf.py#L26
docs/conf.py:26:13: UP032 Use f-string instead of `format` call
|
Ruff (UP032):
misc/generate_table.py#L11
misc/generate_table.py:11:12: UP032 Use f-string instead of `format` call
|
Ruff (PLW2901):
misc/generate_table.py#L24
misc/generate_table.py:24:5: PLW2901 `for` loop variable `encoder_name` overwritten by assignment target
|
Ruff (S112):
misc/generate_table_timm.py#L58
misc/generate_table_timm.py:58:13: S112 `try`-`except`-`continue` detected, consider logging the exception
|
Ruff (PERF203):
misc/generate_table_timm.py#L58
misc/generate_table_timm.py:58:13: PERF203 `try`-`except` within a loop incurs performance overhead
|
Ruff (I001):
segmentation_models_pytorch/__init__.py#L1
segmentation_models_pytorch/__init__.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (UP032):
segmentation_models_pytorch/__init__.py#L52
segmentation_models_pytorch/__init__.py:52:13: UP032 Use f-string instead of `format` call
|
Ruff (I001):
segmentation_models_pytorch/base/__init__.py#L1
segmentation_models_pytorch/base/__init__.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (I001):
segmentation_models_pytorch/base/heads.py#L1
segmentation_models_pytorch/base/heads.py:1:1: I001 Import block is un-sorted or un-formatted
|