You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CQ: Fix Ruff PTH110: os.path.exists() should be replaced by Path.exists() (#6524)
* CQ: Fix Ruff PTH110: `os.path.exists()` should be replaced by `Path.exists()`
Ruff rule: https://docs.astral.sh/ruff/rules/os-path-exists/
* Update grass.py, grass_script_create_project_pack_test.py, d.polar.py, r_pack_test.py, create_python_init_file.py, globalvar.py, lib/init/grass.py
Co-authored-by: Stefan Blumentrath <[email protected]>
* Update gui/wxpython/wxplot/profile.py
* Update profile.py
* Apply suggestions from code review for os.path.join
* r.pack: Revert changes for a test that returns a permission error instead of checking if exists or not
* Add typing to python/grass/tools/tests/conftest.py for tmp_path_factory
* Remove wrapping pathlib.Path objects when they are already given in argument as a pathlib.Path in python/grass/tools/tests/grass_tools_session_tools_pack_test.py
---------
Co-authored-by: Stefan Blumentrath <[email protected]>
0 commit comments