[GRASS-git] [OSGeo/grass-addons] 826191: raster: Fix unconventional-import-alias (ICN001) (...

Edouard Choinière noreply at github.com
Sun Feb 16 07:37:02 PST 2025


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 8261919d7c354c695a918b0785ffbdb09f33c02b
      https://github.com/OSGeo/grass-addons/commit/8261919d7c354c695a918b0785ffbdb09f33c02b
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-02-16 (Sun, 16 Feb 2025)

  Changed paths:
    M src/raster/r.in.usgs/r.in.usgs.py
    M src/raster/r.maxent.lambdas/r.maxent.lambdas.py
    M src/raster/r.mblend/r.mblend.py
    M src/raster/r.mcda.ahp/r.mcda.ahp.py
    M src/raster/r.mcda.input/r.mcda.input.py
    M src/raster/r.mcda.output/r.mcda.output.py
    M src/raster/r.mcda.roughset/r.mcda.roughset.py
    M src/raster/r.mcda.topsis/r.mcda.topsis.py
    M src/raster/r.mregression.series/r.mregression.series.py
    M src/raster/r.northerness.easterness/r.northerness.easterness.py
    M src/raster/r.object.activelearning/r.object.activelearning.py
    M src/raster/r.object.spatialautocor/r.object.spatialautocor.py
    M src/raster/r.object.thickness/r.object.thickness.py
    M src/raster/r.out.kde/r.out.kde.py
    M src/raster/r.out.legend/r.out.legend.py
    M src/raster/r.out.maxent_swd/r.out.maxent_swd.py
    M src/raster/r.patch.smooth/r.patch.smooth.py
    M src/raster/r.popgrowth/r.popgrowth.py
    M src/raster/r.richdem.breachdepressions/r.richdem.breachdepressions.py
    M src/raster/r.richdem.filldepressions/r.richdem.filldepressions.py
    M src/raster/r.richdem.flowaccumulation/r.richdem.flowaccumulation.py
    M src/raster/r.richdem.resolveflats/r.richdem.resolveflats.py
    M src/raster/r.richdem.terrainattribute/r.richdem.terrainattribute.py
    M src/raster/r.rock.stability/r.rock.stability.py
    M src/raster/r.roughness.vector/r.roughness.vector.py
    M src/raster/r.sample.category/r.sample.category.py
    M src/raster/r.series.decompose/r.series.decompose.py
    M src/raster/r.series.filter/r.series.filter.py
    M src/raster/r.shaded.pca/r.shaded.pca.py
    M src/raster/r.shalstab/r.shalstab.py
    M src/raster/r.sim.terrain/r.sim.terrain.py
    M src/raster/r.slope.direction/r.slope.direction.py
    M src/raster/r.soillossbare/r.soillossbare.py
    M src/raster/r.subdayprecip.design/r.subdayprecip.design.py
    M src/raster/r.sun.daily/r.sun.daily.py
    M src/raster/r.sun.hourly/r.sun.hourly.py
    M src/raster/r.surf.nnbathy/r.surf.nnbathy.py
    M src/raster/r.survey/r.survey.py
    M src/raster/r.texture.tiled/r.texture.tiled.py
    M src/raster/r.threshold/r.threshold.py
    M src/raster/r.to.vect.tiled/r.to.vect.tiled.py
    M src/raster/r.viewshed.cva/r.viewshed.cva.py
    M src/raster/r.viewshed.exposure/r.viewshed.exposure.py
    M src/raster/r.viewshed.exposure/validation/validate_r_viewshed_exposure.py
    M src/raster/r.width.funct/r.width.funct.py
    M src/raster/r.zonal.classes/r.zonal.classes.py

  Log Message:
  -----------
  raster: Fix unconventional-import-alias (ICN001) (part 2) (#1321)

* raster: Fix unconventional-import-alias (ICN001) (part 2)

- `grass.script` should be imported as `gs`

Ruff rule: https://docs.astral.sh/ruff/rules/unconventional-import-alias/

* r.in.usgs: Fix unconventional-import-alias (ICN001)

- `grass.script` should be imported as `gs`

Ruff rule: https://docs.astral.sh/ruff/rules/unconventional-import-alias/



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list