-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add config files feature. #32
Conversation
be0613e
to
8bb8e52
Compare
8bb8e52
to
1857244
Compare
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.
LGTM, thanks!
src/stack_pr/cli.py
Outdated
config["DEFAULT"] = { | ||
"common": { | ||
"verbose": False, | ||
"hyperlinks": True, | ||
"keep-body": False, | ||
"draft": False, | ||
}, | ||
"repo": { | ||
"reviewer": None, | ||
"remote": "origin", | ||
"target": "main", | ||
}, | ||
} |
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.
Q: Aren't these defaults redundant with the ones above?
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.
Oh, good catch!
1857244
to
74708e0
Compare
Stacked PRs:
Add config files feature.
The allows to have a local config to customize defaults for CL options.
Closes #22.