Skip to content

Fix q_vector units w/ default static stability #5003

Fix q_vector units w/ default static stability

Fix q_vector units w/ default static stability #5003

Triggered via pull request November 14, 2024 00:01
Status Failure
Total duration 39s
Artifacts

linting.yml

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

Annotations

2 errors
Ruff (B008): src/metpy/calc/kinematics.py#L1278
src/metpy/calc/kinematics.py:1278:22: B008 Do not perform function call `units.Quantity` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
Run Lint Tools
Process completed with exit code 1.