Skip to content

Initial code for wind field reconstruction from vorticity and divergence #4906

Initial code for wind field reconstruction from vorticity and divergence

Initial code for wind field reconstruction from vorticity and divergence #4906

Triggered via pull request September 1, 2024 09:32
Status Failure
Total duration 31s
Artifacts

linting.yml

on: pull_request
Run Lint Tools
20s
Run Lint Tools
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (D401): src/metpy/calc/tools.py#L1964
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."
Ruff (W293): src/metpy/calc/tools.py#L1965
src/metpy/calc/tools.py:1965:1: W293 Blank line contains whitespace
Ruff (D205): src/metpy/calc/tools.py#L1982
src/metpy/calc/tools.py:1982:5: D205 1 blank line required between summary line and description
Ruff (D401): src/metpy/calc/tools.py#L1982
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"
Ruff (D210): tests/calc/test_calc_tools.py#L1567
tests/calc/test_calc_tools.py:1567:5: D210 No whitespaces allowed surrounding docstring text
Ruff (D210): tests/calc/test_calc_tools.py#L1596
tests/calc/test_calc_tools.py:1596:5: D210 No whitespaces allowed surrounding docstring text
Ruff (D210): tests/calc/test_calc_tools.py#L1627
tests/calc/test_calc_tools.py:1627:5: D210 No whitespaces allowed surrounding docstring text
Ruff (F401): tests/calc/test_kinematics.py#L17
tests/calc/test_kinematics.py:17:52: F401 `metpy.calc.rotational_wind_from_inversion` imported but unused
Ruff (F401): tests/calc/test_kinematics.py#L18
tests/calc/test_kinematics.py:18:25: F401 `metpy.calc.divergent_wind_from_inversion` imported but unused
Ruff (T201): tests/calc/test_kinematics.py#L74
tests/calc/test_kinematics.py:74:5: T201 `print` found