[GRASS-git] [OSGeo/grass] 22dcea: Python scripts: remove UTF-8 coding line (#1461)

Markus Neteler noreply at github.com
Mon Mar 15 09:13:37 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 22dcea97b9e8fb167cc495e2103066c3bb1da2d4
      https://github.com/OSGeo/grass/commit/22dcea97b9e8fb167cc495e2103066c3bb1da2d4
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M .github/workflows/test_thorough.bat
    M .github/workflows/test_thorough.sh
    M db/db.describe/testsuite/test_dbdescribe.py
    M gui/wxpython/animation/data.py
    M gui/wxpython/animation/provider.py
    M gui/wxpython/core/layerlist.py
    M gui/wxpython/datacatalog/dialogs.py
    M gui/wxpython/docs/wxgui_sphinx/conf.py
    M gui/wxpython/gui_core/simplelmgr.py
    M gui/wxpython/lmgr/frame.py
    M gui/wxpython/mapwin/analysis.py
    M gui/wxpython/rdigit/controller.py
    M gui/wxpython/rlisetup/frame.py
    M gui/wxpython/rlisetup/functions.py
    M gui/wxpython/rlisetup/sampling_frame.py
    M man/build_class_graphical.py
    M man/build_graphical_index.py
    M man/build_html.py
    M man/build_keywords.py
    M man/build_manual_gallery.py
    M man/build_topics.py
    M man/parser_standard_options.py
    M man/sphinx/conf.py
    M python/grass/docs/conf.py
    M python/grass/exceptions/testsuite/test_ScriptError.py
    M python/grass/gunittest/__init__.py
    M python/grass/gunittest/case.py
    M python/grass/gunittest/checkers.py
    M python/grass/gunittest/gmodules.py
    M python/grass/gunittest/gutils.py
    M python/grass/gunittest/invoker.py
    M python/grass/gunittest/loader.py
    M python/grass/gunittest/main.py
    M python/grass/gunittest/multireport.py
    M python/grass/gunittest/multirunner.py
    M python/grass/gunittest/reporters.py
    M python/grass/gunittest/runner.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_errors/testsuite/test_error.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_errors/testsuite/test_import_error.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_exiting/testsuite/test_gfatalerror.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_exiting/testsuite/test_osexit_one.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_exiting/testsuite/test_osexit_zero.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_exiting/testsuite/test_segfaut.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_exiting/testsuite/test_sysexit_one.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_exiting/testsuite/test_sysexit_zero.py
    M python/grass/gunittest/testsuite/data/samplecode/submodule_test_fail/testsuite/test_fail.py
    M python/grass/gunittest/testsuite/data/samplecode/testsuite/test_good_and_bad.py
    M python/grass/gunittest/testsuite/data/samplecode/testsuite/test_python_unittest.py
    M python/grass/gunittest/testsuite/data/samplecode/testsuite/test_success.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/gunittest/testsuite/test_checkers.py
    M python/grass/gunittest/testsuite/test_gmodules.py
    M python/grass/gunittest/testsuite/test_gunitest_doctests.py
    M python/grass/gunittest/testsuite/test_module_assertions.py
    M python/grass/gunittest/utils.py
    M python/grass/imaging/images2gif.py
    M python/grass/imaging/images2ims.py
    M python/grass/imaging/images2swf.py
    M python/grass/pydispatch/signal.py
    M python/grass/pygrass/__init__.py
    M python/grass/pygrass/errors.py
    M python/grass/pygrass/gis/__init__.py
    M python/grass/pygrass/gis/region.py
    M python/grass/pygrass/gis/testsuite/test_gis.py
    M python/grass/pygrass/gis/testsuite/test_pygrass_gis_doctests.py
    M python/grass/pygrass/messages/__init__.py
    M python/grass/pygrass/messages/testsuite/test_pygrass_messages_doctests.py
    M python/grass/pygrass/modules/__init__.py
    M python/grass/pygrass/modules/grid/__init__.py
    M python/grass/pygrass/modules/grid/grid.py
    M python/grass/pygrass/modules/grid/patch.py
    M python/grass/pygrass/modules/grid/split.py
    M python/grass/pygrass/modules/grid/testsuite/test_pygrass_modules_grid_doctests.py
    M python/grass/pygrass/modules/interface/__init__.py
    M python/grass/pygrass/modules/interface/docstring.py
    M python/grass/pygrass/modules/interface/env.py
    M python/grass/pygrass/modules/interface/flag.py
    M python/grass/pygrass/modules/interface/module.py
    M python/grass/pygrass/modules/interface/parameter.py
    M python/grass/pygrass/modules/interface/read.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/testsuite/test_pygrass_modules_interface_doctests.py
    M python/grass/pygrass/modules/interface/typedict.py
    M python/grass/pygrass/modules/shortcuts.py
    M python/grass/pygrass/modules/testsuite/test_import_isolation.py
    M python/grass/pygrass/modules/testsuite/test_pygrass_modules_doctests.py
    M python/grass/pygrass/raster/__init__.py
    M python/grass/pygrass/raster/abstract.py
    M python/grass/pygrass/raster/buffer.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_category.py
    M python/grass/pygrass/raster/testsuite/test_history.py
    M python/grass/pygrass/raster/testsuite/test_numpy.py
    M python/grass/pygrass/raster/testsuite/test_pygrass_raster.py
    M python/grass/pygrass/raster/testsuite/test_pygrass_raster_doctests.py
    M python/grass/pygrass/raster/testsuite/test_raster_img.py
    M python/grass/pygrass/raster/testsuite/test_raster_region.py
    M python/grass/pygrass/rpc/__init__.py
    M python/grass/pygrass/rpc/base.py
    M python/grass/pygrass/rpc/testsuite/test_pygrass_rpc_doctests.py
    M python/grass/pygrass/shell/__init__.py
    M python/grass/pygrass/shell/conversion.py
    M python/grass/pygrass/shell/show.py
    M python/grass/pygrass/shell/testsuite/test_pygrass_shell_doctests.py
    M python/grass/pygrass/tests/benchmark.py
    M python/grass/pygrass/tests/set_mapset.py
    M python/grass/pygrass/testsuite/test_pygrass_doctests.py
    M python/grass/pygrass/utils.py
    M python/grass/pygrass/vector/__init__.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/sql.py
    M python/grass/pygrass/vector/table.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_pygrass_vector_doctests.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/pygrass/vector/vector_type.py
    M python/grass/script/testsuite/test_core_make_val.py
    M python/grass/script/testsuite/test_names.py
    M python/grass/script/testsuite/test_script_doctests.py
    M python/grass/script/testsuite/test_script_raster.py
    M python/grass/script/testsuite/test_start_command_functions.py
    M python/grass/script/testsuite/test_utils.py
    M python/grass/script/utils.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/c_libraries_interface.py
    M python/grass/temporal/spatial_topology_dataset_connector.py
    M python/grass/temporal/temporal_topology_dataset_connector.py
    M python/grass/temporal/testsuite/test_temporal_doctests.py
    M raster/r.fill.stats/testsuite/test_r_fill_stats.py
    M raster/r.recode/testsuite/test_rrecode_ncspm.py
    M raster/r.sun/testsuite/test_rsun.py
    M raster3d/r3.flow/testsuite/r3flow_test.py
    M raster3d/r3.gradient/testsuite/r3gradient_test.py
    M scripts/i.tasscap/i.tasscap.py
    M scripts/r.plane/r.plane.py
    M scripts/v.pack/v.pack.py
    M scripts/v.to.lines/v.to.lines.py
    M scripts/v.unpack/v.unpack.py
    M scripts/v.what.strds/testsuite/test_what_strds.py
    M scripts/v.what.strds/v.what.strds.py
    M temporal/t.create/t.create.py
    M temporal/t.info/t.info.py
    M temporal/t.list/t.list.py
    M temporal/t.merge/t.merge.py
    M temporal/t.rast.accdetect/t.rast.accdetect.py
    M temporal/t.rast.accumulate/t.rast.accumulate.py
    M temporal/t.rast.aggregate.ds/t.rast.aggregate.ds.py
    M temporal/t.rast.aggregate/t.rast.aggregate.py
    M temporal/t.rast.algebra/t.rast.algebra.py
    M temporal/t.rast.colors/t.rast.colors.py
    M temporal/t.rast.contour/t.rast.contour.py
    M temporal/t.rast.export/t.rast.export.py
    M temporal/t.rast.extract/t.rast.extract.py
    M temporal/t.rast.gapfill/t.rast.gapfill.py
    M temporal/t.rast.import/t.rast.import.py
    M temporal/t.rast.import/testsuite/test_temporal_rast_import.py
    M temporal/t.rast.list/t.rast.list.py
    M temporal/t.rast.mapcalc/t.rast.mapcalc.py
    M temporal/t.rast.neighbors/t.rast.neighbors.py
    M temporal/t.rast.neighbors/testsuite/test_neighbors.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.to.vect/t.rast.to.vect.py
    M temporal/t.rast.univar/t.rast.univar.py
    M temporal/t.rast.what/t.rast.what.py
    M temporal/t.rast3d.algebra/t.rast3d.algebra.py
    M temporal/t.rast3d.extract/t.rast3d.extract.py
    M temporal/t.rast3d.list/t.rast3d.list.py
    M temporal/t.rast3d.mapcalc/t.rast3d.mapcalc.py
    M temporal/t.rast3d.univar/t.rast3d.univar.py
    M temporal/t.register/t.register.py
    M temporal/t.remove/t.remove.py
    M temporal/t.rename/t.rename.py
    M temporal/t.sample/t.sample.py
    M temporal/t.select/t.select.py
    M temporal/t.shift/t.shift.py
    M temporal/t.snap/t.snap.py
    M temporal/t.support/t.support.py
    M temporal/t.topology/t.topology.py
    M temporal/t.unregister/t.unregister.py
    M temporal/t.vect.algebra/t.vect.algebra.py
    M temporal/t.vect.db.select/t.vect.db.select.py
    M temporal/t.vect.export/t.vect.export.py
    M temporal/t.vect.extract/t.vect.extract.py
    M temporal/t.vect.import/t.vect.import.py
    M temporal/t.vect.list/t.vect.list.py
    M temporal/t.vect.observe.strds/t.vect.observe.strds.py
    M temporal/t.vect.univar/t.vect.univar.py
    M temporal/t.vect.what.strds/t.vect.what.strds.py
    M utils/fix_typos.sh
    M vector/v.surf.rst/testsuite/test_vsurfrst.py
    M vector/v.what/testsuite/test_vwhat_layers.py
    M vector/v.what/testsuite/test_vwhat_ncspm.py

  Log Message:
  -----------
  Python scripts: remove UTF-8 coding line (#1461)

* Python scripts: remove UTF-8 coding line. UTF-8 is the default with Python 3, no need for the coding line.

Ref: https://github.com/OSGeo/grass/pull/1449#discussion_r593748122

* write `__init__.py` files as truly empty (flake8: W391)




More information about the grass-commit mailing list