OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
791 stars 288 forks source link

style: Fixes useless-return (PLR1711) #3955

Closed echoix closed 2 days ago

echoix commented 2 days ago

Concerns Pylint rule "useless-return / R1711"

Using ruff check --output-format=concise --select PLR1711 --fix.

Part of the effort to introduce Pylint 3.x for https://github.com/OSGeo/grass/issues/3921

Uses the fixes provided for ruff rule useless-return (PLR1711) to fix Pylint's "useless-return / R1711".

This one is quite easy to review