[GRASS-git] [OSGeo/grass] 837b79: style: Fixes unnecessary-collection-call (C408) fo...

Edouard Choinière noreply at github.com
Sun Jun 30 17:22:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 837b7967f5d98d5043b469862b6083620ae04070
      https://github.com/OSGeo/grass/commit/837b7967f5d98d5043b469862b6083620ae04070
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M python/grass/benchmark/testsuite/test_benchmark.py
    M python/grass/gunittest/testsuite/test_assertions.py
    M python/grass/gunittest/testsuite/test_assertions_rast3d.py
    M python/grass/gunittest/testsuite/test_assertions_vect.py
    M python/grass/pygrass/modules/interface/testsuite/test_flag.py
    M python/grass/pygrass/modules/interface/testsuite/test_parameter.py
    M python/grass/script/testsuite/test_utils.py
    M raster/r.mapcalc/testsuite/test_r_mapcalc.py
    M raster/r.mapcalc/testsuite/test_row_above_below_bug.py
    M raster/r.random.cells/testsuite/test_random_cells.py
    M raster/r.random/testsuite/test_r_random.py
    M raster/r.random/testsuite/testrandom.py
    M raster/r.sun/testsuite/test_rsun.py
    M raster/r.surf.gauss/testsuite/test_r_surf_gauss.py
    M raster/r.surf.random/testsuite/test_min_max.py
    M raster/r.to.vect/testsuite/test_r_to_vect.py
    M raster3d/r3.to.rast/testsuite/test_a_b_coeff.py
    M raster3d/r3.to.rast/testsuite/test_integer_rounding.py
    M raster3d/r3.to.rast/testsuite/test_nulls.py
    M raster3d/r3.to.rast/testsuite/test_small_data.py
    M scripts/r.import/testsuite/test_r_import.py
    M scripts/v.clip/testsuite/test_v_clip.py
    M scripts/v.import/testsuite/test_v_import.py
    M vector/v.in.lidar/testsuite/decimation_test.py
    M vector/v.in.lidar/testsuite/mask_test.py
    M vector/v.in.lidar/testsuite/test_v_in_lidar_filter.py
    M vector/v.in.pdal/testsuite/test_v_in_pdal_filter.py
    M vector/v.info/testsuite/test_vinfo.py
    M vector/v.net/testsuite/test_v_net.py
    M vector/v.random/testsuite/test_v_random.py
    M vector/v.select/testsuite/test_v_select.py
    M vector/v.surf.rst/testsuite/test_vsurfrst.py
    M vector/v.to.3d/testsuite/test_vto3d.py

  Log Message:
  -----------
  style: Fixes unnecessary-collection-call (C408) for testsuite (#3947)

* style: Fixes unnecessary-collection-call (C408) for testsuite

Only applies fixes to non-empty collections by  `ruff check --select "C408" --unsafe-fixes --output-format=concise --fix --config 'include = ["*/testsuite/**.py"]'` in order to limit the review scope.

* style: Apply black formatting

Separated in another commit for easier review of only the original changes without formatting



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