Skip to content

ci: pin ruff to pyproject.toml dev version - #252

Merged
yeongseon merged 2 commits into
mainfrom
ci/pin-ruff-version
Aug 6, 2026
Merged

ci: pin ruff to pyproject.toml dev version#252
yeongseon merged 2 commits into
mainfrom
ci/pin-ruff-version

Conversation

@yeongseon

Copy link
Copy Markdown
Contributor

Summary

The lint job used pip install ruff (unpinned), which installs the latest ruff version. When ruff 0.16.x introduced new rules, every PR started failing lint with pre-existing code style issues. This PR installs ruff from the project's .[dev] extras so the version matches pyproject.toml's pin (ruff==0.15.21).

Same fix applied to pycubrid.

Verification

CI will verify — the lint job should now pass with the pinned ruff version.

Adds a documentation lint job to CI that calls the reusable workflow
at cubrid-lab/.github/.github/workflows/doc-lint.yml@main.

Checks:
  - markdownlint-cli2 (markdown style)
  - lychee (internal link checker)
  - scan_mermaid.py (mermaid syntax validation)

Advisory mode initially (fail-on-issue: false).

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Same fix as pycubrid: 'pip install ruff' installs latest ruff which
introduces new lint rules not yet adopted. Install from .[dev] extras
to match the pinned ruff==0.15.21 in pyproject.toml.
@yeongseon
yeongseon merged commit 7f8321c into main Aug 6, 2026
24 of 25 checks passed
yeongseon pushed a commit that referenced this pull request Aug 6, 2026
…tags

- CHANGELOG: [Unreleased] → [1.6.0] → [1.5.1] → [1.5.0] (was misordered)
- Add #252 CI ruff pin note under [1.6.0]
- Stale tags v2.1.0/v2.1.1 deleted (orphaned, 152 commits behind main)
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.

2 participants