OSGeo / grass

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

style: Fixes manual-from-import (PLR0402) #3949

Closed echoix closed 2 days ago

echoix commented 2 days ago

Concerns Pylint rule "consider-using-from-import / R0402"

Using ruff check --output-format=concise --select PLR0402 --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 manual-from-import (PLR0402) to fix part of Pylint's consider-using-from-import / R0402.