-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add setup.py packaging and .env.example #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # GitHub Notification Copilot — Environment Variables | ||
|
|
||
| # Required | ||
| GITHUB_TOKEN=ghp_your_github_token_here | ||
|
|
||
| # Optional — enables LLM-powered classification (falls back to rule-based without this) | ||
| ANTHROPIC_API_KEY=sk-ant-your-key-here | ||
|
|
||
| # Optional tuning | ||
| TRIAGE_LIMIT=50 # max notifications per run | ||
| TRIAGE_DRY_RUN=false # set to true to preview without executing actions | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,23 @@ | ||||||
| from setuptools import setup, find_packages | ||||||
|
||||||
| from setuptools import setup, find_packages | |
| from setuptools import setup |
Copilot
AI
Mar 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python_requires is set to >=3.11, but the README currently advertises “Python 3.9+”. This mismatch will surprise users and can block installation on supported environments; either lower python_requires to match actual compatibility or update the README to reflect the new minimum Python version.
| python_requires=">=3.11", | |
| python_requires=">=3.9", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.env.exampledocumentsTRIAGE_LIMITandTRIAGE_DRY_RUN, but the codebase does not read these environment variables (the limit/dry-run behavior is currently controlled via CLI args and default values). Either remove these variables from the example or implement env var support so the example matches actual runtime behavior.