Skip to content

Migrate CLI argument handling back to main.py#1901

Open
rolandwalker wants to merge 1 commit into
mainfrom
RW/migrate-cli-args-back-to-main-py
Open

Migrate CLI argument handling back to main.py#1901
rolandwalker wants to merge 1 commit into
mainfrom
RW/migrate-cli-args-back-to-main-py

Conversation

@rolandwalker
Copy link
Copy Markdown
Contributor

Description

This is a bit of churn. We spun absolutely everything out of main.py in a series of steps, but it isn't required that the file have zero responsibilities.

Here mycli/cli_args.py is removed, and its responsibilities brought back to main.py.

Some values are also moved to constants.py to avoid circular imports.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

@rolandwalker rolandwalker self-assigned this May 30, 2026
@rolandwalker rolandwalker force-pushed the RW/migrate-cli-args-back-to-main-py branch from eaf4ef7 to af990fb Compare May 30, 2026 15:27
@rolandwalker rolandwalker requested review from amjith and scottnemes May 30, 2026 15:29
This is a bit of churn.  We spun absolutely everything out of main.py
in a series of steps, but it isn't required that the file have zero
responsibilities.

Here mycli/cli_args.py is removed, and its responsibilities brought
back to main.py.

Some values are also moved to constants.py to avoid circular imports.
@rolandwalker rolandwalker force-pushed the RW/migrate-cli-args-back-to-main-py branch from af990fb to 475c693 Compare May 30, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants