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

Settings cleanup #2258

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Settings cleanup #2258

wants to merge 1 commit into from

Conversation

docppp
Copy link
Contributor

@docppp docppp commented Feb 14, 2024

This commit in an attempt to refactor config file with the power of attrs library. With this changes, any additional settings are easy to create; user can easily configure every option; presets is parsed same as config.txt; invalid options provided with confix.txt results in fallback to hardcoded in-code defaults.

@mashb1t mashb1t added the Size L large change, may depend on other changes, thoroughly test label Feb 14, 2024
@mashb1t
Copy link
Collaborator

mashb1t commented Mar 11, 2024

@docppp appreciate the effort, thank you very much! There have been a few releases not included in your PR, plus some functionalities are missing, e.g. folder creation if dir does not exist and fallback to default happens as well as output path handling with args.
Please consider updating this PR to do enable code evaluation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size L large change, may depend on other changes, thoroughly test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants