Enable flake8-use-pathlib linting rules (#267)

See https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth.
This commit is contained in:
Marc Wrobel
2023-12-30 12:11:21 +01:00
parent 5fa597afc0
commit 47e29992ae
7 changed files with 42 additions and 41 deletions

View File

@@ -18,6 +18,7 @@ select = [
"N", # pep8-naming
"PIE", # flake8-pie
"PGH", # pygrep-hooks
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF100", # unused noqa (yesqa)
"SLF", # flake8-self