[GRASS-git] [OSGeo/grass] f8115d: python: Update black to 24.4.0 (#3545)

Edouard Choinière noreply at github.com
Tue Apr 23 07:45:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: f8115df1219e784a7136e7609f4c9bb16d928e2f
      https://github.com/OSGeo/grass/commit/f8115df1219e784a7136e7609f4c9bb16d928e2f
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-04-23 (Tue, 23 Apr 2024)

  Changed paths:
    M .github/workflows/python-code-quality.yml
    M .pre-commit-config.yaml
    M doc/notebooks/hydrology.ipynb
    M doc/notebooks/jupyter_example.ipynb
    M doc/notebooks/jupyter_tutorial.ipynb
    M doc/notebooks/parallelization_tutorial.ipynb
    M doc/notebooks/scripting_example.ipynb
    M doc/notebooks/solar_potential.ipynb
    M doc/notebooks/temporal.ipynb
    M doc/notebooks/viewshed_analysis.ipynb
    M general/g.mapsets/tests/conftest.py
    M general/g.region/testsuite/test_g_region.py
    M gui/wxpython/animation/controller.py
    M gui/wxpython/animation/data.py
    M gui/wxpython/animation/frame.py
    M gui/wxpython/animation/provider.py
    M gui/wxpython/animation/temporal_manager.py
    M gui/wxpython/animation/toolbars.py
    M gui/wxpython/animation/utils.py
    M gui/wxpython/core/treemodel.py
    M gui/wxpython/core/ws.py
    M gui/wxpython/datacatalog/dialogs.py
    M gui/wxpython/datacatalog/tree.py
    M gui/wxpython/gcp/statusbar.py
    M gui/wxpython/gui_core/menu.py
    M gui/wxpython/gui_core/preferences.py
    M gui/wxpython/gui_core/pystc.py
    M gui/wxpython/gui_core/query.py
    M gui/wxpython/iclass/dialogs.py
    M gui/wxpython/icons/grass_icons.py
    M gui/wxpython/image2target/ii2t_statusbar.py
    M gui/wxpython/iscatt/controllers.py
    M gui/wxpython/iscatt/frame.py
    M gui/wxpython/iscatt/iscatt_core.py
    M gui/wxpython/iscatt/plots.py
    M gui/wxpython/iscatt/toolbars.py
    M gui/wxpython/location_wizard/dialogs.py
    M gui/wxpython/location_wizard/wizard.py
    M gui/wxpython/mapwin/decorations.py
    M gui/wxpython/mapwin/graphics.py
    M gui/wxpython/nviz/mapwindow.py
    M gui/wxpython/photo2image/ip2i_statusbar.py
    M gui/wxpython/psmap/dialogs.py
    M gui/wxpython/psmap/frame.py
    M gui/wxpython/psmap/utils.py
    M gui/wxpython/rdigit/controller.py
    M gui/wxpython/rlisetup/functions.py
    M gui/wxpython/startup/guiutils.py
    M gui/wxpython/vdigit/toolbars.py
    M gui/wxpython/vdigit/wxdigit.py
    M gui/wxpython/vdigit/wxdisplay.py
    M gui/wxpython/vnet/toolbars.py
    M gui/wxpython/vnet/vnet_data.py
    M gui/wxpython/wxplot/profile.py
    M imagery/i.pca/testsuite/test_pca.py
    M imagery/i.segment/testsuite/test_isegment.py
    M imagery/i.signatures/testsuite/test_i_signatures.py
    M imagery/i.svm.predict/testsuite/test_i_svm_predict.py
    M imagery/i.svm.train/testsuite/test_i_svm_train.py
    M imagery/i.vi/testsuite/test_vi.py
    M lib/gis/testsuite/gis_lib_env_test.py
    M lib/imagery/testsuite/test_imagery_find.py
    M lib/imagery/testsuite/test_imagery_sigfile.py
    M lib/imagery/testsuite/test_imagery_signature_management.py
    M lib/imagery/testsuite/test_imagery_sigsetfile.py
    M lib/raster/testsuite/test_raster_metadata.py
    M lib/raster3d/testsuite/raster3d_lib_test.py
    M man/parser_standard_options.py
    M pyproject.toml
    M python/grass/grassdb/create.py
    M python/grass/grassdb/manage.py
    M python/grass/gunittest/multireport.py
    M python/grass/gunittest/runner.py
    M python/grass/gunittest/testsuite/test_assertions.py
    M python/grass/gunittest/testsuite/test_checkers.py
    M python/grass/imaging/operations.py
    M python/grass/jupyter/tests/seriesmap_test.py
    M python/grass/jupyter/tests/timeseriesmap_test.py
    M python/grass/pydispatch/dispatcher.py
    M python/grass/pydispatch/robust.py
    M python/grass/pydispatch/robustapply.py
    M python/grass/pydispatch/signal.py
    M python/grass/pygrass/gis/region.py
    M python/grass/pygrass/messages/__init__.py
    M python/grass/pygrass/modules/grid/patch.py
    M python/grass/pygrass/modules/grid/split.py
    M python/grass/pygrass/modules/interface/__init__.py
    M python/grass/pygrass/modules/interface/env.py
    M python/grass/pygrass/modules/interface/parameter.py
    M python/grass/pygrass/modules/interface/testsuite/test_flag.py
    M python/grass/pygrass/modules/interface/testsuite/test_modules.py
    M python/grass/pygrass/modules/interface/testsuite/test_parameter.py
    M python/grass/pygrass/modules/interface/typedict.py
    M python/grass/pygrass/modules/testsuite/test_import_isolation.py
    M python/grass/pygrass/raster/abstract.py
    M python/grass/pygrass/raster/category.py
    M python/grass/pygrass/raster/history.py
    M python/grass/pygrass/raster/raster_type.py
    M python/grass/pygrass/raster/rowio.py
    M python/grass/pygrass/raster/segment.py
    M python/grass/pygrass/raster/testsuite/test_numpy.py
    M python/grass/pygrass/shell/conversion.py
    M python/grass/pygrass/vector/abstract.py
    M python/grass/pygrass/vector/basic.py
    M python/grass/pygrass/vector/find.py
    M python/grass/pygrass/vector/geometry.py
    M python/grass/pygrass/vector/testsuite/test_filters.py
    M python/grass/pygrass/vector/testsuite/test_geometry.py
    M python/grass/pygrass/vector/testsuite/test_geometry_attrs.py
    M python/grass/pygrass/vector/testsuite/test_table.py
    M python/grass/pygrass/vector/testsuite/test_vector.py
    M python/grass/pygrass/vector/testsuite/test_vector3d.py
    M python/grass/script/task.py
    M python/grass/script/vector.py
    M python/grass/temporal/abstract_dataset.py
    M python/grass/temporal/abstract_map_dataset.py
    M python/grass/temporal/abstract_space_time_dataset.py
    M python/grass/temporal/base.py
    M python/grass/temporal/core.py
    M python/grass/temporal/datetime_math.py
    M python/grass/temporal/extract.py
    M python/grass/temporal/factory.py
    M python/grass/temporal/gui_support.py
    M python/grass/temporal/list_stds.py
    M python/grass/temporal/mapcalc.py
    M python/grass/temporal/metadata.py
    M python/grass/temporal/open_stds.py
    M python/grass/temporal/register.py
    M python/grass/temporal/sampling.py
    M python/grass/temporal/space_time_datasets.py
    M python/grass/temporal/spatial_extent.py
    M python/grass/temporal/spatial_topology_dataset_connector.py
    M python/grass/temporal/spatio_temporal_relationships.py
    M python/grass/temporal/temporal_algebra.py
    M python/grass/temporal/temporal_extent.py
    M python/grass/temporal/temporal_granularity.py
    M python/grass/temporal/temporal_operator.py
    M python/grass/temporal/temporal_raster3d_algebra.py
    M python/grass/temporal/temporal_raster_base_algebra.py
    M python/grass/temporal/temporal_topology_dataset_connector.py
    M python/grass/temporal/temporal_vector_algebra.py
    M python/grass/temporal/testsuite/unittests_temporal_raster3d_algebra.py
    M python/grass/temporal/unit_tests.py
    M python/grass/temporal/univar_statistics.py
    M raster/r.basins.fill/testsuite/testrbf.py
    M raster/r.external/testsuite/test_r_external.py
    M raster/r.gwflow/testsuite/validation_7x7_grid.py
    M raster/r.horizon/testsuite/test_r_horizon.py
    M raster/r.in.ascii/testsuite/test_r_in_ascii.py
    M raster/r.in.gdal/testsuite/test_r_in_gdal.py
    M raster/r.info/testsuite/test_r_info.py
    M raster/r.random.cells/testsuite/test_random_cells.py
    M raster/r.random/testsuite/testrandom.py
    M raster/r.reclass/testsuite/test_r_reclass.py
    M raster/r.series.interp/testsuite/interp_test.py
    M raster/r.support/testsuite/test_r_support.py
    M raster/r.texture/testsuite/test_texture.py
    M raster/r.tile/testsuite/testrt.py
    M raster/r.to.vect/testsuite/test_r_to_vect.py
    M raster/r.univar/testsuite/test_r_univar.py
    M raster/r.what/testsuite/testrw.py
    M raster3d/r3.flow/testsuite/r3flow_test.py
    M raster3d/r3.gradient/testsuite/r3gradient_test.py
    M scripts/r.fillnulls/testsuite/test_r_fillnulls.py
    M scripts/r.in.wms/srs.py
    M scripts/r.in.wms/wms_cap_parsers.py
    M scripts/r.mapcalc.simple/testsuite/test_rmapcalcsimple.py
    M scripts/r.reclass.area/testsuite/testrra.py
    M scripts/v.rast.stats/testsuite/test_v_rast_stats.py
    M temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py
    M temporal/t.rast.aggregate/testsuite/test_aggregation_absolute_parallel.py
    M temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py
    M temporal/t.rast.series/testsuite/test_series.py
    M temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py
    M temporal/t.shift/testsuite/test_shift.py
    M temporal/t.snap/testsuite/test_snap.py
    M temporal/t.support/testsuite/test_support_str3ds.py
    M temporal/t.support/testsuite/test_support_strds.py
    M temporal/t.support/testsuite/test_support_stvds.py
    M temporal/t.unregister/testsuite/test_unregister.py
    M vector/v.extract/testsuite/test_v_extract.py
    M vector/v.fill.holes/examples.ipynb
    M vector/v.in.ogr/testsuite/test_v_in_ogr.py
    M vector/v.to.rast/testsuite/test_v_to_rast.py
    M vector/v.univar/testsuite/v_univar_test.py
    M vector/v.vect.stats/testsuite/test_vect_stats.py

  Log Message:
  -----------
  python: Update black to 24.4.0 (#3545)

* CI(black): Upgrade black to 24.3.0 (including Jupyter notebooks)

* python: Require black version 24

* python: Update black target-version

* python(black): Use extend-exclude instead of overriding exclude

* python: Use black's default include pattern to format Jupyter notebooks

* pre-commit: Update black hook to 24.3.0 (including Jupyter notebooks)

* python: Format python files with Black 24.3.0

* python: Format Jupyter notebooks with Black 24.3.0

* python: Format new files with black

* Update black to 24.4.0

* wxGUI/wxplot: Format profile with black



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