Skip to content

tests: pin the ruff lint rule set - #183

Merged
jk-ozlabs merged 1 commit into
CodeConstruct:mainfrom
Kenny-PH-Hsieh:fix-ruff-lint-format
Nov 12, 2026
Merged

jk-ozlabs merged 1 commit into
CodeConstruct:mainfrom
Kenny-PH-Hsieh:fix-ruff-lint-format

Conversation

@Kenny-PH-Hsieh

Copy link
Copy Markdown
Contributor

tests/ruff.toml selects no lint rules, so ruff checks whatever its default set is. Ruff 0.16 enlarged that set from 59 rules (E4, E7, E9, F) to over 400, and ruff 0.17 reports 112 findings on the current tests, while the pinned 0.14.10 in CI passes.

Select the pre-0.16 defaults explicitly, so the checks stay the same across ruff versions. This changes nothing under the pinned 0.14.10.

tests/ruff.toml selects no lint rules, so ruff checks whatever its
default set is. Ruff 0.16 enlarged that set from 59 rules (E4, E7, E9,
F) to over 400, and ruff 0.17 reports 112 findings on the current tests,
while the pinned 0.14.10 in CI passes.

Select the pre-0.16 defaults explicitly, so the checks stay the same
across ruff versions. This changes nothing under the pinned 0.14.10.

Signed-off-by: Kenny PH Hsieh <Kenny_Hsieh@jabil.com>
@jk-ozlabs
jk-ozlabs merged commit 82540d8 into CodeConstruct:main Nov 12, 2026
4 checks passed
@jk-ozlabs

Copy link
Copy Markdown
Member

Merged, thanks!

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