refactor: use pathlib (#654)

* refactor: use pathlib

* fix size mock
This commit is contained in:
sigma67 2024-10-05 12:39:21 +02:00 • committed by GitHub
commit 77e40b7f7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 37 additions and 30 deletions

View file

@ -55,11 +55,12 @@ precision = 2
line-length = 110
[tool.ruff.lint]
ignore = [ "F403", "F405", "F821", "E731" ]
ignore = [ "F403", "F405", "F821", "E731", "PTH123" ]
extend-select = [
"I", # isort
"UP", # pyupgrade
"RUF", # ruff
"PTH", # pathlib
]
[tool.mypy]