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

[AutoPR] TODO make these configurable #124

Open
github-actions bot opened this issue Nov 5, 2023 · 0 comments
Open

[AutoPR] TODO make these configurable #124

github-actions bot opened this issue Nov 5, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2023

TODO make these configurable

AutoPR/autopr/main.py

Lines 31 to 41 in dd6cdd8

publish_service_class: Type[PublishService] = PublishService
def __init__(self):
self.log = get_logger(service="main")
# TODO make these configurable
self.config_dir = ".autopr"
self.cache_dir = os.path.join(self.config_dir, "cache")
self.settings = self.settings_class.parse_obj({}) # pyright workaround
self.repo_path = self.get_repo_path()

To resolve this TODO, you can start by identifying the specific parts of the code that need to be made configurable. Then, consider what options or parameters could be used to make those parts configurable, and implement the necessary changes to allow for configuration.

@github-actions github-actions bot added the medium label Nov 5, 2023
pull bot pushed a commit to TheRakeshPurohit/AutoPR that referenced this issue Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants