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

Fix syntax error and type mismatch #43

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ class ExecConf:
no_cache: bool

def __init__(self) -> None:
self.test = TEST
self.fetch = FETCH
self.no_cache = NO_CACHE
self.test = TEST.lower() == "true"
intls marked this conversation as resolved.
Show resolved Hide resolved
self.fetch = FETCH.lower() == "true"
self.no_cache = NO_CACHE.lower() == "true"

def __str__(self):
return f"ExecConf(test={self.test},fetch={self.fetch},no_cache={self.no_cache}"
return f"ExecConf(test={self.test},fetch={self.fetch},no_cache={self.no_cache})"


class PMConf:
Expand Down