Skip to content

codex/chore/ruff base config#73

Merged
saagpatel merged 4 commits into
mainfrom
codex/chore/ruff-base-config
Jun 19, 2026
Merged

codex/chore/ruff base config#73
saagpatel merged 4 commits into
mainfrom
codex/chore/ruff-base-config

Conversation

@saagpatel

Copy link
Copy Markdown
Owner
  • chore: extend ruff config from portfolio base
  • fix(release): use os.path.expanduser in test fixture instead of hardcoded path

Switches [tool.ruff] to extend from ~/Projects/ruff.toml which holds the
shared baseline (line-length=100, select=E/F/I/UP). Per-repo extras kept
via extend-select; target-version stays local.

@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: 6ebdca60f7

ℹ️ 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 pyproject.toml Outdated
[tool.ruff]
target-version = "py311"
line-length = 100
extend = "../ruff.toml"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Vendor or reference a checked-in Ruff base

In a clean checkout of this repo, the parent file targeted here is absent, while the CI workflow runs ruff check src/ tests/ in .github/workflows/ci.yml:31. Ruff's config extend help describes this as a local config file that is loaded before the current one; with this line, ruff check . exits before linting with Failed to load extended configuration /workspace/ruff.toml. This will fail lint for any clone that does not happen to have that parent-level file, so keep the base config in the repo or point at an existing checked-in file.

Useful? React with 👍 / 👎.

@saagpatel saagpatel merged commit a947957 into main Jun 19, 2026
3 checks passed
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