Skip to content

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#49

Merged
DaLuSt merged 3 commits intotestingfrom
main
Mar 7, 2026

Conversation

@DaLuSt
Copy link
Copy Markdown
Owner

@DaLuSt DaLuSt commented Mar 7, 2026

No description provided.

DaLuSt and others added 3 commits March 7, 2026 17:43
Auto-merge: testing → main (run #1)
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
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
@DaLuSt DaLuSt merged commit 6dd8ab4 into testing Mar 7, 2026
5 checks passed
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