[GRASS-git] [OSGeo/grass] 093411: style: Fix all remaining `PT` flake8-pytest-style ...
Edouard Choinière
noreply at github.com
Sat Oct 5 12:49:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 093411be44f55657177cc9aab719e1e62df7b20b
https://github.com/OSGeo/grass/commit/093411be44f55657177cc9aab719e1e62df7b20b
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2024-10-05 (Sat, 05 Oct 2024)
Changed paths:
M pyproject.toml
M python/grass/experimental/tests/grass_script_mapset_session_test.py
M python/grass/jupyter/tests/reprojection_renderer_test.py
M python/grass/pygrass/modules/tests/grass_pygrass_grid_test.py
M python/grass/script/tests/grass_script_setup_test.py
M temporal/t.rast.list/tests/t_rast_list_test.py
Log Message:
-----------
style: Fix all remaining `PT` flake8-pytest-style issues (#4452)
* style: Fix pytest-parametrize-names-wrong-type (PT006)
Ruff rule: https://docs.astral.sh/ruff/rules/pytest-parametrize-names-wrong-type/
* style: Fix pytest-composite-assertion (PT018)
Ruff rule: https://docs.astral.sh/ruff/rules/pytest-composite-assertion/
* style: Remove unneeded exclusions of pytest rules
* style: Fix pytest-incorrect-pytest-import (PT013)
Ruff rule: https://docs.astral.sh/ruff/rules/pytest-incorrect-pytest-import/
* Move PT009 exclusion to only exclude on python/grass/gunittest/case.py
* grass.script: Ignore pytest-raises-too-broad (PT011) in grass_script_setup_test.py::test_init_session_finish
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