Skip to content

[AutoPR] TODO make these configurable #124

Open
@github-actions

Description

@github-actions

TODO make these configurable

AutoPR/autopr/main.py

Lines 31 to 41 in 1d818f4

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions