Skip to content

added random generator #13

added random generator

added random generator #13

GitHub Actions / ruff failed Jul 18, 2024 in 0s

reviewdog [ruff] report

reported by reviewdog 🐶

Findings (12)

src/metpy/calc/tools.py|1964 col 5| D401 First line of docstring should be in imperative mood: "Returns the array indices of a bounding box."
src/metpy/calc/tools.py|1965 col 1| W293 [] Blank line contains whitespace
src/metpy/calc/tools.py|1982 col 5| D202 [
] No blank lines allowed after function docstring (found 1)
src/metpy/calc/tools.py|1982 col 5| D205 1 blank line required between summary line and description
src/metpy/calc/tools.py|1982 col 5| D401 First line of docstring should be in imperative mood: "Returns the vectorization indices for inner for loop in the"
src/metpy/calc/tools.py|1985 col 1| W293 [] Blank line contains whitespace
tests/calc/test_calc_tools.py|1567 col 5| D210 [
] No whitespaces allowed surrounding docstring text
tests/calc/test_calc_tools.py|1576 col 21| UP034 [] Avoid extraneous parentheses
tests/calc/test_calc_tools.py|1596 col 5| D210 [
] No whitespaces allowed surrounding docstring text
tests/calc/test_calc_tools.py|1605 col 21| UP034 [] Avoid extraneous parentheses
tests/calc/test_calc_tools.py|1627 col 5| D210 [
] No whitespaces allowed surrounding docstring text
tests/calc/test_calc_tools.py|1636 col 21| UP034 [*] Avoid extraneous parentheses

Filtered Findings (0)

Annotations

Check failure on line 1964 in src/metpy/calc/tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] src/metpy/calc/tools.py#L1964

D401 First line of docstring should be in imperative mood: "Returns the array indices of a  bounding box."
Raw output
src/metpy/calc/tools.py:1964:5: D401 First line of docstring should be in imperative mood: "Returns the array indices of a  bounding box."

Check failure on line 1965 in src/metpy/calc/tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] src/metpy/calc/tools.py#L1965

W293 [*] Blank line contains whitespace
Raw output
src/metpy/calc/tools.py:1965:1: W293 [*] Blank line contains whitespace

Check failure on line 1982 in src/metpy/calc/tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] src/metpy/calc/tools.py#L1982

D202 [*] No blank lines allowed after function docstring (found 1)
Raw output
src/metpy/calc/tools.py:1982:5: D202 [*] No blank lines allowed after function docstring (found 1)

Check failure on line 1982 in src/metpy/calc/tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] src/metpy/calc/tools.py#L1982

D205 1 blank line required between summary line and description
Raw output
src/metpy/calc/tools.py:1982:5: D205 1 blank line required between summary line and description

Check failure on line 1982 in src/metpy/calc/tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] src/metpy/calc/tools.py#L1982

D401 First line of docstring should be in imperative mood: "Returns the vectorization indices for  inner for loop in the"
Raw output
src/metpy/calc/tools.py:1982:5: D401 First line of docstring should be in imperative mood: "Returns the vectorization indices for  inner for loop in the"

Check failure on line 1985 in src/metpy/calc/tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] src/metpy/calc/tools.py#L1985

W293 [*] Blank line contains whitespace
Raw output
src/metpy/calc/tools.py:1985:1: W293 [*] Blank line contains whitespace

Check failure on line 1567 in tests/calc/test_calc_tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] tests/calc/test_calc_tools.py#L1567

D210 [*] No whitespaces allowed surrounding docstring text
Raw output
tests/calc/test_calc_tools.py:1567:5: D210 [*] No whitespaces allowed surrounding docstring text

Check failure on line 1576 in tests/calc/test_calc_tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] tests/calc/test_calc_tools.py#L1576

UP034 [*] Avoid extraneous parentheses
Raw output
tests/calc/test_calc_tools.py:1576:21: UP034 [*] Avoid extraneous parentheses

Check failure on line 1596 in tests/calc/test_calc_tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] tests/calc/test_calc_tools.py#L1596

D210 [*] No whitespaces allowed surrounding docstring text
Raw output
tests/calc/test_calc_tools.py:1596:5: D210 [*] No whitespaces allowed surrounding docstring text

Check failure on line 1605 in tests/calc/test_calc_tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] tests/calc/test_calc_tools.py#L1605

UP034 [*] Avoid extraneous parentheses
Raw output
tests/calc/test_calc_tools.py:1605:21: UP034 [*] Avoid extraneous parentheses

Check failure on line 1627 in tests/calc/test_calc_tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] tests/calc/test_calc_tools.py#L1627

D210 [*] No whitespaces allowed surrounding docstring text
Raw output
tests/calc/test_calc_tools.py:1627:5: D210 [*] No whitespaces allowed surrounding docstring text

Check failure on line 1636 in tests/calc/test_calc_tools.py

See this annotation in the file changed.

@github-actions github-actions / ruff

[ruff] tests/calc/test_calc_tools.py#L1636

UP034 [*] Avoid extraneous parentheses
Raw output
tests/calc/test_calc_tools.py:1636:21: UP034 [*] Avoid extraneous parentheses