Skip to content

Make CLI bootstrap Poetry-aware - #361

Open
NiklasRosenstein wants to merge 4 commits into
developfrom
codex/poetry-aware-bootstrap
Open

Make CLI bootstrap Poetry-aware#361
NiklasRosenstein wants to merge 4 commits into
developfrom
codex/poetry-aware-bootstrap

Conversation

@NiklasRosenstein

Copy link
Copy Markdown
Owner

Summary

  • create pydoc-markdown.yml when bootstrapping beside a Poetry-only pyproject.toml
  • refuse to shadow an existing [tool.pydoc-markdown] configuration
  • warn only when quick CLI options actually ignore a usable local configuration
  • preserve YAML-over-TOML precedence and create bootstrap files exclusively to avoid symlink/race overwrites
  • document the workflow and add focused CLI regression coverage

Closes #197.

Validation

  • full pytest suite: 106 passed
  • canonical mypy check passes
  • Ruff lint and format checks pass
  • Python 3.10 bootstrap smoke test passes
  • independent review findings fixed; final re-review found no issues
  • diff check passes

Comment thread docs/content/usage/yaml.md Outdated
Comment thread docs/content/usage/yaml.md Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c72098248e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/pydoc_markdown/main.py
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.

[Feature] --bootstrap should detect existing poetry config

1 participant