Skip to content

[ci] bump linters in pre-commit#4066

Open
AlexanderDokuchaev wants to merge 7 commits into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/bumplinter
Open

[ci] bump linters in pre-commit#4066
AlexanderDokuchaev wants to merge 7 commits into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/bumplinter

Conversation

@AlexanderDokuchaev
Copy link
Copy Markdown
Collaborator

@AlexanderDokuchaev AlexanderDokuchaev commented May 6, 2026

Changes

  • ruff-pre-commit (v0.15.12)
  • markdownlint-cli (v0.48.0) - disable table-column-style
  • cspell-cli (v9.8.0) - v10 is not supported in gha Unsupported NodeJS version (20.20.2); >=22.18.0 is required
  • actionlint (v1.7.12)

Reason for changes

Related tickets

Tests

@github-actions github-actions Bot added the NNCF ONNX Pull requests that updates NNCF ONNX label May 6, 2026
@AlexanderDokuchaev AlexanderDokuchaev marked this pull request as ready for review May 6, 2026 13:52
@AlexanderDokuchaev AlexanderDokuchaev requested a review from a team as a code owner May 6, 2026 13:52
Copilot AI review requested due to automatic review settings May 6, 2026 13:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s pre-commit tooling versions (ruff, markdownlint, cspell, actionlint) and applies resulting auto-formatting changes to keep the codebase compliant with the updated linters.

Changes:

  • Bump pre-commit hook revisions for ruff, markdownlint-cli, cspell-cli, and actionlint.
  • Disable markdownlint rule MD060 (table-column-style) in the CI markdownlint configuration.
  • Apply formatting-only updates to a couple of Python lambdas (no functional change intended).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tests/onnx/quantization/test_ptq_regression.py Formatting-only change to a conditional lambda for readability/formatter compliance.
src/nncf/quantization/algorithms/weight_compression/algorithm.py Formatting-only change to a filter lambda to satisfy formatter output.
.pre-commit-config.yaml Bumps hook versions for ruff/markdownlint/cspell/actionlint.
.ci/markdownlint.yaml Disables MD060 to align markdownlint behavior with the updated linter version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NNCF ONNX Pull requests that updates NNCF ONNX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants