GeoSampler updates #31
Annotations
10 errors
Run ruff checks:
tests/samplers/test_single.py#L150
tests/samplers/test_single.py:150:31: ANN001 Missing type annotation for function argument `tmpdir_factory`
|
Run ruff checks:
torchgeo/samplers/single.py#L7
torchgeo/samplers/single.py:7:8: F401 `random` imported but unused
|
Run ruff checks:
torchgeo/samplers/single.py#L11
torchgeo/samplers/single.py:11:1: UP035 `typing.List` is deprecated, use `list` instead
|
Run ruff checks:
torchgeo/samplers/single.py#L99
torchgeo/samplers/single.py:99:36: UP006 Use `list` instead of `List` for type annotation
|
Run ruff checks:
torchgeo/samplers/single.py#L113
torchgeo/samplers/single.py:113:44: UP006 Use `list` instead of `List` for type annotation
|
Run ruff checks:
torchgeo/samplers/single.py#L138
torchgeo/samplers/single.py:138:34: ANN001 Missing type annotation for function argument `self`
|
Run ruff checks:
torchgeo/samplers/single.py#L138
torchgeo/samplers/single.py:138:70: ANN001 Missing type annotation for function argument `driver`
|
Run ruff checks:
torchgeo/samplers/single.py#L139
torchgeo/samplers/single.py:139:9: D415 First line should end with a period, question mark, or exclamation point
|
Run ruff checks:
torchgeo/samplers/single.py#L141
torchgeo/samplers/single.py:141:13: F821 Undefined name `chips`
|
Run ruff checks:
torchgeo/samplers/single.py#L143
torchgeo/samplers/single.py:143:13: F821 Undefined name `chips`
|
Loading