[GRASS-git] [OSGeo/grass-addons] ed8af2: style: Fix current flake8 errors (#1133)

Edouard Choinière noreply at github.com
Mon Jun 24 12:24:25 PDT 2024


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: ed8af2507854cdbc4ca37087dd43927d6329c0d4
      https://github.com/OSGeo/grass-addons/commit/ed8af2507854cdbc4ca37087dd43927d6329c0d4
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M src/general/g.projpicker/g.projpicker.py
    M src/hadoop/hd/hdfsgrass/hdfs_grass_lib.py
    M src/hadoop/hd/hdfswrapper/hive_hook.py
    M src/hadoop/hd/hdfswrapper/security_utils.py
    M src/hadoop/hd/hdfswrapper/webhdfs_hook.py
    M src/imagery/i.landsat8.swlst/column_water_vapor.py
    M src/imagery/i.landsat8.swlst/split_window_lst.py
    M src/imagery/i.modis/libmodis/rmodislib.py
    M src/misc/m.printws/m.printws.py
    M src/raster/r.area.createweight/r.area.createweight.py
    M src/raster/r.category.trim/r.category.trim.py
    M src/raster/r.estimap.recreation/estimap_recreation/accessibility.py
    M src/raster/r.estimap.recreation/estimap_recreation/demand.py
    M src/raster/r.estimap.recreation/estimap_recreation/mobility.py
    M src/raster/r.estimap.recreation/estimap_recreation/spectrum.py
    M src/raster/r.futures/r.futures.demand/r.futures.demand.py
    M src/raster/r.green/r.green.hydro/libhydro/plant.py
    M src/raster/r.green/r.green.hydro/r.green.hydro.financial/r.green.hydro.financial.py
    M src/raster/r.green/r.green.hydro/r.green.hydro.optimal/r.green.hydro.optimal.py
    M src/raster/r.green/r.green.hydro/r.green.hydro.theoretical/r.green.hydro.theoretical.py
    M src/raster/r.maxent.train/r.maxent.train.py
    M src/vector/v.class.mlpy/v.class.mlpy.py

  Log Message:
  -----------
  style: Fix current flake8 errors (#1133)

* style: Fix "SyntaxWarning: invalid escape sequence" occurrences

Used `ruff check . --select "W605" --fix` and adapted the changes when reviewing

* style: Fix flake8 "E226 missing whitespace around arithmetic operator"



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