Skip to content

feat(lint): add ruff lint to CI and pre-commit hook#17

Open
nik-localstack wants to merge 2 commits into
masterfrom
feat/add-lint
Open

feat(lint): add ruff lint to CI and pre-commit hook#17
nik-localstack wants to merge 2 commits into
masterfrom
feat/add-lint

Conversation

@nik-localstack
Copy link
Copy Markdown

@nik-localstack nik-localstack commented May 16, 2026

Summary

  • Adds a lint job to the GitHub Actions workflow that runs make lint CHECK=1 (ruff format check + ruff check)
  • Extends the Makefile with a CHECK=1 flag on the lint target to check without modifying files, and a separate install-pre-commit target
  • Adds a .pre-commit-config.yaml with ruff hooks that auto-fix formatting and linting errors on each commit
  • Fixes bare except clauses in plugins/tableau_hll/__init__.py (E722) and applies ruff formatting across the codebase

Test plan

  • CI lint job passes on this PR
  • make lint CHECK=1 exits 0 locally
  • make install-pre-commit installs the git hook
  • Pre-commit hook auto-fixes and blocks commits with unfixable lint errors

🤖 Generated with Claude Code

nik-localstack and others added 2 commits May 16, 2026 14:47
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nik-localstack nik-localstack self-assigned this May 16, 2026
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