Skip to content

Restructure project into src layout with proper Python package Moves all Python source into src/redditcleaner/ and introduces a single pyproject.toml that replaces the three separate requirements.txt files and pytest.ini. Key changes: - src/redditcleaner/ — new package root - utils.py, drive_upload.py — shared modules (moved from root) - cli/comment_cleaner.py — was commentCleaner.py (snake_case rename) - cli/post_cleaner.py — was PostCleaner.py - ci/weekly_cleanup.py — was weekly_cleanup.py; removes duplicate _with_retry() (now imported from utils) - web/app.py — was web/app.py; removes sys.path hack, uses LOG_DIR env var for log file paths - pyproject.toml — replaces requirements.txt (root/web/tests) with optional extras: drive, web, dev; defines CLI entry redditcleaner.ci.weekly_cleanup#47

Merged
DaLuSt merged 1 commit intomainfrom
claude/fix-main-auto-push-ZglfM
Mar 7, 2026

Conversation

@DaLuSt
Copy link
Copy Markdown
Owner

@DaLuSt DaLuSt commented Mar 7, 2026

No description provided.

Moves all Python source into src/redditcleaner/ and introduces a
single pyproject.toml that replaces the three separate requirements.txt
files and pytest.ini.

Key changes:
- src/redditcleaner/          — new package root
  - utils.py, drive_upload.py — shared modules (moved from root)
  - cli/comment_cleaner.py    — was commentCleaner.py (snake_case rename)
  - cli/post_cleaner.py       — was PostCleaner.py
  - ci/weekly_cleanup.py      — was weekly_cleanup.py; removes duplicate
                                 _with_retry() (now imported from utils)
  - web/app.py                — was web/app.py; removes sys.path hack,
                                 uses LOG_DIR env var for log file paths
- pyproject.toml              — replaces requirements.txt (root/web/tests)
                                 with optional extras: drive, web, dev;
                                 defines CLI entry points
- All tests updated: no more sys.path manipulation; all import/patch
  strings use full redditcleaner.* dotted paths
- GitHub Actions: pip install lines use pip install -e ".[dev/drive]";
  weekly-cleanup run command updated to python -m redditcleaner.ci.weekly_cleanup

https://claude.ai/code/session_01YbWdZzfzmkn5sqW3ByjUB7
@DaLuSt DaLuSt merged commit 6931b4b into main Mar 7, 2026
5 checks passed
DaLuSt added a commit that referenced this pull request Mar 7, 2026
Merge pull request #47 from DaLuSt/claude/fix-main-auto-push-ZglfM

Restructure project into src layout with proper Python package

Moves all Python source into src/redditcleaner/ and introduces a
single pyproject.toml that replaces the three separate requirements.txt
files and pytest.ini.

Key changes:
- src/redditcleaner/          — new
DaLuSt added a commit that referenced this pull request Mar 7, 2026
Merge pull request #47 from DaLuSt/claude/fix-main-auto-push-ZglfM

Restructure project into src layout with proper Python package

Moves all Python source into src/redditcleaner/ and introduces a
single pyproject.toml that replaces the three separate requirements.txt
files and pytest.ini.

Key changes:
- src/redditcleaner/          — new package root
  - utils.py, drive_upload.py — shared modules (moved from root)
  - cli/comment_cleaner.py    — was commentCleaner.py (snake_case rename)
  - cli/post_cleaner.py       — was PostCleaner.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants