Skip to content
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

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Add config files feature. #32

merged 1 commit into from
Oct 6, 2024

Conversation

ZolotukhinM
Copy link
Collaborator

@ZolotukhinM ZolotukhinM commented Oct 6, 2024

Stacked PRs:


Add config files feature.

The allows to have a local config to customize defaults for CL options.

Closes #22.

ZolotukhinM added a commit that referenced this pull request Oct 6, 2024
The allows to have a local config to customize defaults for CL options.

Closes #22.

stack-info: PR: #32, branch: ZolotukhinM/stack/2
Copy link
Contributor

@laszlokindrat laszlokindrat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Comment on lines 1327 to 1339
config["DEFAULT"] = {
"common": {
"verbose": False,
"hyperlinks": True,
"keep-body": False,
"draft": False,
},
"repo": {
"reviewer": None,
"remote": "origin",
"target": "main",
},
}
Copy link
Contributor

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, good catch!

The allows to have a local config to customize defaults for CL options.

Closes #22.

stack-info: PR: #32, branch: ZolotukhinM/stack/2
@ZolotukhinM ZolotukhinM merged commit adacd0a into main Oct 6, 2024
2 checks passed
@ZolotukhinM ZolotukhinM deleted the ZolotukhinM/stack/2 branch October 6, 2024 23:30
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.

Feature request: allow redefining defaults with config files
2 participants