[GRASS-git] [OSGeo/grass] 95da3e: style: Fix all flake8-gettext (INT) errors (INT001...
Edouard Choinière
noreply at github.com
Sat Sep 14 07:34:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 95da3efa40fec6dc6058479cadca524f79b34dcc
https://github.com/OSGeo/grass/commit/95da3efa40fec6dc6058479cadca524f79b34dcc
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2024-09-14 (Sat, 14 Sep 2024)
Changed paths:
M general/g.parser/test.py
M gui/wxpython/animation/dialogs.py
M gui/wxpython/animation/temporal_manager.py
M gui/wxpython/core/debug.py
M gui/wxpython/core/render.py
M gui/wxpython/gcp/manager.py
M gui/wxpython/gmodeler/model.py
M gui/wxpython/gmodeler/panels.py
M gui/wxpython/gui_core/ghelp.py
M gui/wxpython/gui_core/gselect.py
M gui/wxpython/gui_core/pyedit.py
M gui/wxpython/gui_core/pystc.py
M gui/wxpython/gui_core/query.py
M gui/wxpython/history/browser.py
M gui/wxpython/iclass/dialogs.py
M gui/wxpython/iclass/frame.py
M gui/wxpython/iclass/plots.py
M gui/wxpython/image2target/ii2t_gis_set.py
M gui/wxpython/iscatt/controllers.py
M gui/wxpython/iscatt/dialogs.py
M gui/wxpython/iscatt/frame.py
M gui/wxpython/iscatt/iscatt_core.py
M gui/wxpython/lmgr/frame.py
M gui/wxpython/lmgr/workspace.py
M gui/wxpython/location_wizard/dialogs.py
M gui/wxpython/location_wizard/wizard.py
M gui/wxpython/main_window/frame.py
M gui/wxpython/mapdisp/frame.py
M gui/wxpython/mapdisp/test_mapdisp.py
M gui/wxpython/mapwin/analysis.py
M gui/wxpython/rdigit/g.gui.rdigit.py
M gui/wxpython/rlisetup/frame.py
M gui/wxpython/rlisetup/functions.py
M gui/wxpython/rlisetup/wizard.py
M gui/wxpython/startup/locdownload.py
M gui/wxpython/timeline/frame.py
M gui/wxpython/tplot/frame.py
M gui/wxpython/vnet/vnet_data.py
M gui/wxpython/web_services/dialogs.py
M gui/wxpython/web_services/widgets.py
M gui/wxpython/wxgui.py
M lib/init/grass.py
M pyproject.toml
M python/grass/pygrass/raster/category.py
M python/grass/pygrass/vector/__init__.py
M python/grass/script/raster.py
M python/grass/temporal/abstract_space_time_dataset.py
M python/grass/temporal/aggregation.py
M python/grass/temporal/c_libraries_interface.py
M python/grass/temporal/core.py
M python/grass/temporal/datetime_math.py
M python/grass/temporal/mapcalc.py
M python/grass/temporal/space_time_datasets.py
M python/grass/temporal/stds_export.py
M python/grass/temporal/stds_import.py
M python/grass/temporal/temporal_algebra.py
M python/grass/temporal/temporal_raster_base_algebra.py
M python/grass/temporal/univar_statistics.py
M scripts/d.polar/d.polar.py
M scripts/g.extension.all/g.extension.all.py
M scripts/g.extension/g.extension.py
M scripts/i.oif/i.oif.py
M scripts/i.pansharpen/i.pansharpen.py
M scripts/i.spectral/i.spectral.py
M scripts/r.in.wms/wms_base.py
M scripts/r.in.wms/wms_cap_parsers.py
M scripts/r.in.wms/wms_drv.py
M scripts/r.in.wms/wms_gdal_drv.py
M scripts/r.pack/r.pack.py
M scripts/r.tileset/r.tileset.py
M scripts/r.unpack/r.unpack.py
M scripts/v.rast.stats/v.rast.stats.py
M scripts/v.to.lines/v.to.lines.py
M scripts/v.unpack/v.unpack.py
M scripts/v.what.strds/v.what.strds.py
M temporal/t.rast.accdetect/t.rast.accdetect.py
M temporal/t.rast.accumulate/t.rast.accumulate.py
M temporal/t.rast.export/t.rast.export.py
M temporal/t.rast.gapfill/t.rast.gapfill.py
M temporal/t.rast.list/t.rast.list.py
M temporal/t.rast.out.vtk/t.rast.out.vtk.py
M temporal/t.rast.series/t.rast.series.py
M temporal/t.rast.to.rast3/t.rast.to.rast3.py
M temporal/t.rast.what/t.rast.what.py
M temporal/t.remove/t.remove.py
M temporal/t.unregister/t.unregister.py
M temporal/t.vect.observe.strds/t.vect.observe.strds.py
M utils/mkhtml.py
Log Message:
-----------
style: Fix all flake8-gettext (INT) errors (INT001, INT002, INT003) (#4052)
* style: Fix all flake8-gettext (INT) errors (INT001, INT002, INT003)
Ruff rules:
https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/
https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/
https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
* Revert source string changes when unneeded.
* Update univar_statistics.py
Co-authored-by: Vaclav Petras <wenzeslaus at gmail.com>
* Update panels.py for Python script type string
* Update pyedit.py to keep path keyword in changed string
* Update univar_statistics.py to make already translated strings match again
* Update pyedit.py
* Update model.py
---------
Co-authored-by: Vaclav Petras <wenzeslaus at gmail.com>
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