Skip to content

refactor CLI Hugging Face username helper#861

Draft
burtenshaw wants to merge 1 commit into
huggingface:mainfrom
burtenshaw:codex/refactor-cli-hf-username-helper
Draft

refactor CLI Hugging Face username helper#861
burtenshaw wants to merge 1 commit into
huggingface:mainfrom
burtenshaw:codex/refactor-cli-hf-username-helper

Conversation

@burtenshaw

Copy link
Copy Markdown
Collaborator

Refactors CLI Hugging Face username extraction into shared CLI utilities and reuses it from openenv fork and openenv push.

Validation:

  • uv run ruff check src/openenv/cli/_cli_utils.py src/openenv/cli/commands/push.py src/openenv/cli/commands/fork.py tests/test_cli/test_fork.py
  • uv run ruff format --check src/openenv/cli/_cli_utils.py src/openenv/cli/commands/push.py src/openenv/cli/commands/fork.py tests/test_cli/test_fork.py
  • uv run usort check src/openenv/cli/_cli_utils.py src/openenv/cli/commands/push.py src/openenv/cli/commands/fork.py tests/test_cli/test_fork.py
  • PYTHONPATH=src:envs uv run python -m pytest tests/test_cli -q

@burtenshaw burtenshaw force-pushed the codex/refactor-cli-hf-username-helper branch from ca6b150 to 792b871 Compare June 25, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant