Skip to content

Ensure config init creates config directory#23

Open
shuofengzhang wants to merge 2 commits intolnxpy:mainfrom
shuofengzhang:fix-config-init
Open

Ensure config init creates config directory#23
shuofengzhang wants to merge 2 commits intolnxpy:mainfrom
shuofengzhang:fix-config-init

Conversation

@shuofengzhang
Copy link
Copy Markdown

What changed

  • Ensure hey config init creates the config directory before writing files.
  • Add a test covering config init when the directory doesn’t yet exist.

Why

  • Currently, config init can fail if the config directory is missing.
  • This makes the first‑run experience more reliable without changing behavior for existing setups.

Testing

  • pytest -q

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.

1 participant