Skip to content

removed all ruff errors #8

removed all ruff errors

removed all ruff errors #8

Triggered via push July 17, 2024 15:41
Status Success
Total duration 3m 17s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

22 errors
[ruff] src/metpy/calc/tools.py#L1964: src/metpy/calc/tools.py#L1964
D401 First line of docstring should be in imperative mood: "Computes the array indices of a bounding box."
[ruff] src/metpy/calc/tools.py#L1965: src/metpy/calc/tools.py#L1965
W293 [*] Blank line contains whitespace
[ruff] src/metpy/calc/tools.py#L1982: src/metpy/calc/tools.py#L1982
D202 [*] No blank lines allowed after function docstring (found 1)
[ruff] src/metpy/calc/tools.py#L1982: src/metpy/calc/tools.py#L1982
D205 1 blank line required between summary line and description
[ruff] src/metpy/calc/tools.py#L1982: src/metpy/calc/tools.py#L1982
D401 First line of docstring should be in imperative mood: "function computes the vectorization indices for inner for loop in the"
[ruff] src/metpy/calc/tools.py#L1982: src/metpy/calc/tools.py#L1982
D403 [*] First word of the first line should be capitalized: `function` -> `Function`
[ruff] src/metpy/calc/tools.py#L1985: src/metpy/calc/tools.py#L1985
W293 [*] Blank line contains whitespace
[ruff] tests/calc/test_calc_tools.py#L1567: tests/calc/test_calc_tools.py#L1567
D210 [*] No whitespaces allowed surrounding docstring text
[ruff] tests/calc/test_calc_tools.py#L1568: tests/calc/test_calc_tools.py#L1568
NPY002 Replace legacy `np.random.random` call with `np.random.Generator`
[ruff] tests/calc/test_calc_tools.py#L1575: tests/calc/test_calc_tools.py#L1575
UP034 [*] Avoid extraneous parentheses
[ruff] tests/calc/test_calc_tools.py#L1595: tests/calc/test_calc_tools.py#L1595
D210 [*] No whitespaces allowed surrounding docstring text
[ruff] tests/calc/test_calc_tools.py#L1596: tests/calc/test_calc_tools.py#L1596
NPY002 Replace legacy `np.random.random` call with `np.random.Generator`
[ruff] tests/calc/test_calc_tools.py#L1603: tests/calc/test_calc_tools.py#L1603
UP034 [*] Avoid extraneous parentheses
[ruff] tests/calc/test_calc_tools.py#L1625: tests/calc/test_calc_tools.py#L1625
D210 [*] No whitespaces allowed surrounding docstring text
[ruff] tests/calc/test_calc_tools.py#L1626: tests/calc/test_calc_tools.py#L1626
NPY002 Replace legacy `np.random.random` call with `np.random.Generator`
[ruff] tests/calc/test_calc_tools.py#L1633: tests/calc/test_calc_tools.py#L1633
UP034 [*] Avoid extraneous parentheses