Enable Ruff flake8-use-pathlib (PTH) (autofix only) (#13750)

This commit is contained in:
Avasam
2025-04-01 13:27:33 +02:00
committed by GitHub
parent 5b6d2c93aa
commit df1206f3cb
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from typing import Final
# installed into the user's virtual env, so we can't determine the path
# to typeshed. Installing ts_utils editable would solve that, see
# https://github.com/python/typeshed/pull/12806.
TS_BASE_PATH: Final = Path("")
TS_BASE_PATH: Final = Path()
STDLIB_PATH: Final = TS_BASE_PATH / "stdlib"
STUBS_PATH: Final = TS_BASE_PATH / "stubs"