[GRASS-git] [OSGeo/grass] d880ec: style: Fix unconventional-import-alias (ICN001) (c...
Edouard Choinière
noreply at github.com
Thu Jul 4 15:40:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: d880ec0a6d88ce64a10f18c7d3e8701bf8e8972f
https://github.com/OSGeo/grass/commit/d880ec0a6d88ce64a10f18c7d3e8701bf8e8972f
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M gui/wxpython/animation/frame.py
M gui/wxpython/animation/g.gui.animation.py
M gui/wxpython/animation/temporal_manager.py
M gui/wxpython/animation/utils.py
M gui/wxpython/core/debug.py
M gui/wxpython/core/gconsole.py
M gui/wxpython/core/giface.py
M gui/wxpython/datacatalog/g.gui.datacatalog.py
M gui/wxpython/datacatalog/tree.py
M gui/wxpython/dbmgr/base.py
M gui/wxpython/dbmgr/g.gui.dbmgr.py
M gui/wxpython/dbmgr/sqlbuilder.py
M gui/wxpython/dbmgr/vinfo.py
M gui/wxpython/gcp/g.gui.gcp.py
M gui/wxpython/gcp/manager.py
M gui/wxpython/gmodeler/g.gui.gmodeler.py
M gui/wxpython/gui_core/ghelp.py
M gui/wxpython/gui_core/gselect.py
M gui/wxpython/gui_core/preferences.py
M gui/wxpython/gui_core/pyedit.py
M gui/wxpython/gui_core/vselect.py
M gui/wxpython/iclass/dialogs.py
M gui/wxpython/iclass/digit.py
M gui/wxpython/iclass/frame.py
M gui/wxpython/iclass/g.gui.iclass.py
M gui/wxpython/iclass/statistics.py
M gui/wxpython/iclass/toolbars.py
M gui/wxpython/image2target/g.gui.image2target.py
M gui/wxpython/image2target/ii2t_manager.py
M gui/wxpython/iscatt/controllers.py
M gui/wxpython/iscatt/dialogs.py
M gui/wxpython/iscatt/iscatt_core.py
M gui/wxpython/iscatt/plots.py
M gui/wxpython/lmgr/pyshell.py
M gui/wxpython/location_wizard/dialogs.py
M gui/wxpython/mapdisp/frame.py
M gui/wxpython/mapdisp/test_mapdisp.py
M gui/wxpython/mapswipe/frame.py
M gui/wxpython/mapswipe/g.gui.mapswipe.py
M gui/wxpython/mapwin/buffered.py
M gui/wxpython/modules/colorrules.py
M gui/wxpython/modules/mcalc_builder.py
M gui/wxpython/nviz/mapwindow.py
M gui/wxpython/nviz/tools.py
M gui/wxpython/nviz/wxnviz.py
M gui/wxpython/photo2image/g.gui.photo2image.py
M gui/wxpython/photo2image/ip2i_manager.py
M gui/wxpython/psmap/dialogs.py
M gui/wxpython/psmap/frame.py
M gui/wxpython/psmap/g.gui.psmap.py
M gui/wxpython/psmap/instructions.py
M gui/wxpython/psmap/utils.py
M gui/wxpython/rlisetup/g.gui.rlisetup.py
M gui/wxpython/timeline/frame.py
M gui/wxpython/timeline/g.gui.timeline.py
M gui/wxpython/tplot/frame.py
M gui/wxpython/tplot/g.gui.tplot.py
M gui/wxpython/vdigit/g.gui.vdigit.py
M gui/wxpython/vdigit/toolbars.py
M gui/wxpython/web_services/dialogs.py
M gui/wxpython/web_services/widgets.py
M gui/wxpython/wxplot/base.py
M gui/wxpython/wxplot/histogram.py
M gui/wxpython/wxplot/profile.py
M gui/wxpython/wxplot/scatter.py
M lib/imagery/testsuite/test_imagery_signature_management.py
M pyproject.toml
M python/grass/benchmark/plots.py
M python/grass/gunittest/multireport.py
M python/grass/gunittest/reporters.py
M python/grass/imaging/images2avi.py
M python/grass/pygrass/gis/region.py
M python/grass/pygrass/tests/benchmark.py
M python/grass/script/array.py
M python/grass/temporal/aggregation.py
M python/grass/temporal/core.py
M python/grass/temporal/extract.py
M python/grass/temporal/gui_support.py
M python/grass/temporal/mapcalc.py
M python/grass/temporal/stds_export.py
M python/grass/temporal/stds_import.py
M python/grass/temporal/testsuite/test_register_function.py
M python/grass/temporal/testsuite/unittests_temporal_algebra_grs.py
M python/grass/temporal/testsuite/unittests_temporal_algebra_mixed_stds.py
M python/grass/temporal/testsuite/unittests_temporal_conditionals.py
M python/grass/temporal/testsuite/unittests_temporal_raster3d_algebra.py
M raster/r.solute.transport/seguin_verify.py
M raster/r.solute.transport/seguin_verify_well.py
M scripts/d.rast.edit/d.rast.edit.py
M scripts/d.rast.leg/d.rast.leg.py
M scripts/db.dropcolumn/db.dropcolumn.py
M scripts/db.droptable/db.droptable.py
M scripts/db.in.ogr/db.in.ogr.py
M scripts/db.univar/db.univar.py
M scripts/g.extension.all/g.extension.all.py
M scripts/i.colors.enhance/i.colors.enhance.py
M scripts/i.image.mosaic/i.image.mosaic.py
M scripts/i.in.spotvgt/i.in.spotvgt.py
M scripts/i.pansharpen/i.pansharpen.py
M scripts/i.tasscap/i.tasscap.py
M scripts/r.blend/r.blend.py
M scripts/r.buffer.lowmem/r.buffer.lowmem.py
M scripts/r.colors.stddev/r.colors.stddev.py
M scripts/r.fillnulls/r.fillnulls.py
M scripts/r.grow/r.grow.py
M scripts/r.import/r.import.py
M scripts/r.in.aster/r.in.aster.py
M scripts/r.in.srtm/r.in.srtm.py
M scripts/r.in.wms/r.in.wms.py
M scripts/r.in.wms/wms_base.py
M scripts/r.in.wms/wms_cap_parsers.py
M scripts/r.in.wms/wms_drv.py
M scripts/r.in.wms/wms_gdal_drv.py
M scripts/r.mask/r.mask.py
M scripts/r.plane/r.plane.py
M scripts/r.reclass.area/r.reclass.area.py
M scripts/r.rgb/r.rgb.py
M scripts/v.centroids/v.centroids.py
M scripts/v.clip/v.clip.py
M scripts/v.db.addcolumn/v.db.addcolumn.py
M scripts/v.db.addtable/v.db.addtable.py
M scripts/v.db.dropcolumn/v.db.dropcolumn.py
M scripts/v.db.droprow/v.db.droprow.py
M scripts/v.db.droptable/v.db.droptable.py
M scripts/v.db.reconnect.all/v.db.reconnect.all.py
M scripts/v.db.renamecolumn/v.db.renamecolumn.py
M scripts/v.db.univar/v.db.univar.py
M scripts/v.db.update/v.db.update.py
M scripts/v.import/v.import.py
M scripts/v.in.geonames/v.in.geonames.py
M scripts/v.rast.stats/v.rast.stats.py
M scripts/v.report/v.report.py
M scripts/v.to.lines/v.to.lines.py
M scripts/v.what.strds/testsuite/test_what_strds.py
M scripts/v.what.strds/v.what.strds.py
M scripts/wxpyimgview/wxpyimgview.py
M scripts/wxpyimgview/wxpyimgview_gui.py
M temporal/t.copy/t.copy.py
M temporal/t.create/t.create.py
M temporal/t.info/t.info.py
M temporal/t.list/t.list.py
M temporal/t.merge/t.merge.py
M temporal/t.rast.accdetect/t.rast.accdetect.py
M temporal/t.rast.accumulate/t.rast.accumulate.py
M temporal/t.rast.aggregate.ds/t.rast.aggregate.ds.py
M temporal/t.rast.aggregate/t.rast.aggregate.py
M temporal/t.rast.algebra/t.rast.algebra.py
M temporal/t.rast.colors/t.rast.colors.py
M temporal/t.rast.contour/t.rast.contour.py
M temporal/t.rast.export/t.rast.export.py
M temporal/t.rast.export/testsuite/test_rast_export.py
M temporal/t.rast.extract/t.rast.extract.py
M temporal/t.rast.gapfill/t.rast.gapfill.py
M temporal/t.rast.import/t.rast.import.py
M temporal/t.rast.mapcalc/t.rast.mapcalc.py
M temporal/t.rast.neighbors/t.rast.neighbors.py
M temporal/t.rast.out.vtk/t.rast.out.vtk.py
M temporal/t.rast.series/t.rast.series.py
M temporal/t.rast.to.rast3/t.rast.to.rast3.py
M temporal/t.rast.to.vect/t.rast.to.vect.py
M temporal/t.rast.what/t.rast.what.py
M temporal/t.rast3d.algebra/t.rast3d.algebra.py
M temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py
M temporal/t.rast3d.extract/t.rast3d.extract.py
M temporal/t.rast3d.list/t.rast3d.list.py
M temporal/t.rast3d.mapcalc/t.rast3d.mapcalc.py
M temporal/t.register/t.register.py
M temporal/t.remove/t.remove.py
M temporal/t.rename/t.rename.py
M temporal/t.sample/t.sample.py
M temporal/t.select/t.select.py
M temporal/t.shift/t.shift.py
M temporal/t.snap/t.snap.py
M temporal/t.support/t.support.py
M temporal/t.topology/t.topology.py
M temporal/t.unregister/t.unregister.py
M temporal/t.vect.algebra/t.vect.algebra.py
M temporal/t.vect.db.select/t.vect.db.select.py
M temporal/t.vect.export/t.vect.export.py
M temporal/t.vect.extract/t.vect.extract.py
M temporal/t.vect.import/t.vect.import.py
M temporal/t.vect.list/t.vect.list.py
M temporal/t.vect.observe.strds/t.vect.observe.strds.py
M temporal/t.vect.univar/t.vect.univar.py
M temporal/t.vect.what.strds/t.vect.what.strds.py
M utils/ppmrotate.py
M utils/thumbnails.py
Log Message:
-----------
style: Fix unconventional-import-alias (ICN001) (consolidate `import grass.script as gs`) (#3981)
* style: Unignore unconventional-import-alias (ICN001) ruff rule
* style: Use convention `import matplotlib as mpl`
* style: Use convention `import numpy as np`
* style: Use convention `import grass.script as gs`
* test: Remove unused grass.script in test file
* style: Add missing alias to `import grass.script as gs`
* style: Alias `import grass.script as gs` when already imported at file-level
* Remove duplicated grass.script lazy import in wxpython/gui_core/ghelp.py
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list