Skip to content

Removed logging initialization as sideffect - #107

Open
semohr wants to merge 4 commits into
mainfrom
logging_refactor
Open

Removed logging initialization as sideffect#107
semohr wants to merge 4 commits into
mainfrom
logging_refactor

Conversation

@semohr

@semohr semohr commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR moves logging initialization from module import time to CLI startup, ensuring logging is configured only when the CLI is executed.

This also better reflects the intended separation of responsibilities: libraries should configure their own logging, even if they use our logging utilities. We can always add a notebook magic or similar helper in the future to simplify setup for notebooks and scripting, but that feels out of scope for this change here.

@semohr
semohr temporarily deployed to integration_tests July 29, 2026 18:08 — with GitHub Actions Inactive
@semohr
semohr temporarily deployed to integration_tests July 29, 2026 18:08 — with GitHub Actions Inactive
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.00000% with 3 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
plistsync/__main__.py 80.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@semohr
semohr temporarily deployed to integration_tests July 29, 2026 18:22 — with GitHub Actions Inactive
@semohr
semohr temporarily deployed to integration_tests July 29, 2026 18:22 — with GitHub Actions Inactive
@metasauce metasauce deleted a comment from github-actions Bot Jul 29, 2026
@semohr
semohr force-pushed the logging_refactor branch from b1910ab to ecd86d2 Compare July 29, 2026 18:27
@semohr
semohr temporarily deployed to integration_tests July 29, 2026 18:27 — with GitHub Actions Inactive
@semohr
semohr temporarily deployed to integration_tests July 29, 2026 18:27 — with GitHub Actions Inactive
@semohr
semohr requested a review from pSpitzner July 29, 2026 18:34
@semohr
semohr temporarily deployed to integration_tests August 5, 2026 16:00 — with GitHub Actions Inactive
@semohr
semohr temporarily deployed to integration_tests August 5, 2026 16:00 — with GitHub Actions Inactive
@semohr
semohr force-pushed the logging_refactor branch from 2928408 to 093bf17 Compare August 7, 2026 12:24
@semohr
semohr temporarily deployed to integration_tests August 7, 2026 12:25 — with GitHub Actions Inactive
@semohr
semohr temporarily deployed to integration_tests August 7, 2026 12:25 — with GitHub Actions Inactive
@semohr
semohr deployed to integration_tests August 22, 2026 20:24 — with GitHub Actions Active
@semohr
semohr deployed to integration_tests August 22, 2026 20:24 — with GitHub Actions Active
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.

1 participant