testsAndMisc/python_pkg
Krzysztof kuhy Rudnicki d22619b483 fix(lint): convert os.path to pathlib - remove PTH per-file ignores
- Converted os.path patterns to pathlib.Path in 15+ files
- os.path.join → Path /
- os.path.dirname → Path.parent
- os.path.exists → Path.exists()
- os.path.isfile → Path.is_file()
- os.path.abspath → Path.resolve()
- os.mkdir → Path.mkdir()
- os.listdir → Path.iterdir()
- os.getcwd → Path.cwd()
- os.replace → Path.replace()
- Updated function type hints to accept str | Path

Added PTH123 (open() vs Path.open()) to global ignores as stylistic preference
2025-11-30 23:03:03 +01:00
..
download_cats fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
extract_links fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
keyboard_coop fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
lichess_bot fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
mock_server refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
pdfCentered refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
random_jpg fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
randomize_numbers fix(lint): LOG015 - replace root logger with module loggers 2025-11-30 21:59:24 +01:00
scrape_website fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
screen_locker fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
split refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
stockfish_analysis fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
tag_divider fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
__init__.py refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
.gitignore refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00