Ignore nested Python cache directories

This commit is contained in:
Dymas
2026-05-11 11:56:04 +02:00
parent ec6efac9e1
commit 79ee98ae62
5 changed files with 9 additions and 4 deletions
+1
View File
@@ -1,6 +1,7 @@
.ani-cli-web/ .ani-cli-web/
downloads/ downloads/
__pycache__/ __pycache__/
**/__pycache__/
*.py[cod] *.py[cod]
*.pyo *.pyo
.python-version .python-version
+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## 0.1.1 - 2026-05-11
- Expanded `.gitignore` to ignore `__pycache__` directories at every project depth.
## 0.1.0 - 2026-05-11 ## 0.1.0 - 2026-05-11
- Split `ani-cli-web` into a standalone project that uses system-wide `ani-cli`. - Split `ani-cli-web` into a standalone project that uses system-wide `ani-cli`.
+2 -2
View File
@@ -2,7 +2,7 @@
A small local web UI for a system-wide `ani-cli` install. A small local web UI for a system-wide `ani-cli` install.
Current version: `0.1.0` Current version: `0.1.1`
## Project Layout ## Project Layout
@@ -46,4 +46,4 @@ ANI_CLI_DOWNLOAD_DIR/anime_name/anime_name - S01E01.mp4
Settings and the queue are stored under XDG config/state directories when writable, with a local `.ani-cli-web/` fallback inside this project. Settings and the queue are stored under XDG config/state directories when writable, with a local `.ani-cli-web/` fallback inside this project.
Runtime folders such as `.ani-cli-web/`, `downloads/`, and Python bytecode caches are ignored by git. Runtime folders such as `.ani-cli-web/`, `downloads/`, and Python bytecode cache directories at any depth are ignored by git.
+1 -1
View File
@@ -1 +1 @@
0.1.0 0.1.1
+1 -1
View File
@@ -20,7 +20,7 @@ from uuid import uuid4
PROJECT_ROOT = Path(__file__).resolve().parent PROJECT_ROOT = Path(__file__).resolve().parent
ANI_CLI = os.environ.get("ANI_CLI_BIN") or shutil.which("ani-cli") or "ani-cli" ANI_CLI = os.environ.get("ANI_CLI_BIN") or shutil.which("ani-cli") or "ani-cli"
APP_NAME = "ani-cli-web" APP_NAME = "ani-cli-web"
VERSION = "0.1.0" VERSION = "0.1.1"
ALLANIME_BASE = "allanime.day" ALLANIME_BASE = "allanime.day"
ALLANIME_API = f"https://api.{ALLANIME_BASE}" ALLANIME_API = f"https://api.{ALLANIME_BASE}"
ALLANIME_REFERER = "https://allmanga.to" ALLANIME_REFERER = "https://allmanga.to"