[GRASS-git] [OSGeo/grass] 1a8cbe: Checks: fix flake8 E741 remainder (#3928)

Makiko Shukunobe noreply at github.com
Tue Jul 2 13:12:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 1a8cbece96d1a22ca508aba8a72cf4faa270d3a9
      https://github.com/OSGeo/grass/commit/1a8cbece96d1a22ca508aba8a72cf4faa270d3a9
  Author: Makiko Shukunobe <mshukuno at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M .flake8
    M locale/grass_po_stats.py
    M python/grass/pygrass/raster/rowio.py
    M python/grass/temporal/temporal_algebra.py
    M python/grass/temporal/temporal_raster3d_algebra.py
    M python/grass/temporal/temporal_raster_algebra.py
    M python/grass/temporal/temporal_vector_algebra.py
    M scripts/d.rast.leg/d.rast.leg.py
    M scripts/db.univar/db.univar.py
    M scripts/r.in.wms/wms_cap_parsers.py

  Log Message:
  -----------
  Checks: fix flake8 E741 remainder (#3928)

* Rename l to line when using `f.readlines()`.

* Remove "l"s from parameters since they aren't used.

* Rename "l" to "lx" to assign a lexer object.

* Add "# noqa: E741" as renaming parameters won't be applicable in this case.

* Rename "l" to "ln" as line number.

* Rename "l" to "layer" when looping through the layer list.

* Remove E741 for files in the 'locale', `python`, and `scripts` directory.

* Rename "ln" to "line_number".



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