[GRASS-git] [OSGeo/grass] 09f923: style: Use `ruff format` instead of `black .` for ...

Edouard Choinière noreply at github.com
Sun Feb 2 12:28:35 PST 2025


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

  Changed paths:
    M .flake8
    M .github/workflows/python-code-quality.yml
    M .pre-commit-config.yaml
    M general/g.version/tests/g_version_test.py
    M gui/wxpython/core/settings.py
    M gui/wxpython/dbmgr/base.py
    M gui/wxpython/gmodeler/model.py
    M gui/wxpython/gui_core/vselect.py
    M gui/wxpython/nviz/tools.py
    M gui/wxpython/nviz/workspace.py
    M gui/wxpython/rlisetup/wizard.py
    M gui/wxpython/timeline/frame.py
    M imagery/i.atcorr/create_iwave.py
    M lib/init/grass.py
    M python/grass/experimental/tests/conftest.py
    M python/grass/experimental/tests/grass_script_mapset_session_test.py
    M python/grass/jupyter/interactivemap.py
    M python/grass/pygrass/raster/category.py
    M python/grass/script/tests/grass_script_core_location_test.py
    M python/grass/temporal/spatial_extent.py
    M python/grass/temporal/temporal_algebra.py
    M raster/r.coin/tests/test_coin.py
    M raster/r.colors.out/tests/r3_colors_out_test.py
    M raster/r.colors.out/tests/r_colors_out_test.py
    M scripts/g.extension/testsuite/test_addons_modules.py
    M scripts/r.fillnulls/r.fillnulls.py
    M scripts/r.pack/r.pack.py
    M scripts/r.tileset/testsuite/test_r_tileset.py
    M scripts/v.dissolve/tests/v_dissolve_aggregate_test.py
    M scripts/v.dissolve/tests/v_dissolve_layers_test.py
    M temporal/t.rast.list/tests/t_rast_list_test.py
    M vector/v.colors.out/tests/v_colors_out_test.py

  Log Message:
  -----------
  style: Use `ruff format` instead of `black .` for improved user experience (#5023)

* style: Disable Flake8 line length checks as handled by our formatting tools

* Apply `ruff format` to potentially unexpected tuples in gui/wxpython/rlisetup/wizard.py

* style: Apply `ruff format`-specific formatting for 2025 style

* style: Disable Flake8 line length checks as handled by our formatting tools

* checks: Replace black with ruff format in pre-commit

* CI: Implement checks and PR suggestions for `ruff format`

* python: Address misplace to and from comments for Rast_copy_cats

* gui: Remove potentially unexpected and unused tuple for SetSelection in rlisetup.wizard



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