Skip to content

refactor CLI Hugging Face username helper#861

Merged
burtenshaw merged 2 commits into
huggingface:mainfrom
burtenshaw:codex/refactor-cli-hf-username-helper
Jul 2, 2026
Merged

refactor CLI Hugging Face username helper#861
burtenshaw merged 2 commits 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
@burtenshaw burtenshaw added enhancement New feature or request size: small Small pull request labels Jul 1, 2026
@burtenshaw burtenshaw marked this pull request as ready for review July 2, 2026 09:38
@burtenshaw burtenshaw merged commit c0ced4b into huggingface:main Jul 2, 2026
7 checks passed
@bot-ci-comment

bot-ci-comment Bot commented Jul 2, 2026

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@burtenshaw burtenshaw deleted the codex/refactor-cli-hf-username-helper branch July 2, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex codex-automation enhancement New feature or request size: small Small pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant