Skip to content

GeoSampler updates

GeoSampler updates #6

Triggered via pull request September 10, 2024 09:46
@stypoumicstypoumic
synchronize #2
geosampler
Status Failure
Total duration 3m 29s
Artifacts

style.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Ruff (ANN001): tests/samplers/test_single.py#L150
tests/samplers/test_single.py:150:31: ANN001 Missing type annotation for function argument `tmpdir_factory`
Ruff (D205): torchgeo/samplers/single.py#L157
torchgeo/samplers/single.py:157:9: D205 1 blank line required between summary line and description
Ruff (D210): torchgeo/samplers/single.py#L157
torchgeo/samplers/single.py:157:9: D210 No whitespaces allowed surrounding docstring text
Ruff (D205): torchgeo/samplers/single.py#L195
torchgeo/samplers/single.py:195:9: D205 1 blank line required between summary line and description
Ruff (D415): torchgeo/samplers/single.py#L207
torchgeo/samplers/single.py:207:9: D415 First line should end with a period, question mark, or exclamation point
Ruff (D415): torchgeo/samplers/single.py#L214
torchgeo/samplers/single.py:214:9: D415 First line should end with a period, question mark, or exclamation point
Ruff (D102): torchgeo/samplers/single.py#L363
torchgeo/samplers/single.py:363:9: D102 Missing docstring in public method
Ruff (ANN001): torchgeo/samplers/single.py#L363
torchgeo/samplers/single.py:363:25: ANN001 Missing type annotation for function argument `num_samples`
Ruff (D102): torchgeo/samplers/single.py#L490
torchgeo/samplers/single.py:490:9: D102 Missing docstring in public method
Ruff (D102): torchgeo/samplers/single.py#L581
torchgeo/samplers/single.py:581:9: D102 Missing docstring in public method
mypy
Process completed with exit code 1.