mirror of
https://github.com/kuhyx/testsAndMisc-archive.git
synced 2026-07-04 20:03:17 +02:00
- 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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| generate_cats.py | ||
| requirements.txt | ||