OSGeo / grass

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

style: Fixes sys-exit-alias (PLR1722) #3951

Closed echoix closed 2 days ago

echoix commented 2 days ago

Using ruff check --select "PLR1722" --unsafe-fixes --output-format=concise --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 sys-exit-alias (PLR1722) to fix part of Pylint's consider-using-sys-exit / R1722.