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: allow disabling specific calculations #588

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Conversation

NiceAesth
Copy link
Contributor

@NiceAesth NiceAesth commented Feb 13, 2024

Describe your changes

Addresses issues raised in #573
Added tzdata to dependencies, meant to pr separately but oh well

Related Issues / Projects

Checklist

  • I've manually tested my code

@NiceAesth NiceAesth merged commit 06495df into master Feb 13, 2024
5 checks passed
@NiceAesth NiceAesth deleted the arg-improvements branch February 13, 2024 12:04
@NiceAesth NiceAesth added the bug Something isn't working label Feb 13, 2024
@NiceAesth NiceAesth self-assigned this Feb 13, 2024
@@ -219,25 +219,26 @@ async def recalculate_mode_scores(mode: GameMode, ctx: Context) -> None:

async def main(argv: Sequence[str] | None = None) -> int:
argv = argv if argv is not None else sys.argv[1:]
if len(argv) == 0:
argv = ["--help"]
Copy link
Member

Choose a reason for hiding this comment

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

does it still behave the same way after the change here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Forcing that argument on makes it impossible to run it without args (which runs on all modes all calcs)

You need to add --help now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants