Skip to content

Add prek-based pre-commit lint hook#595

Open
maxachis wants to merge 1 commit intodevfrom
fix-587-add-prek-lint-hook
Open

Add prek-based pre-commit lint hook#595
maxachis wants to merge 1 commit intodevfrom
fix-587-add-prek-lint-hook

Conversation

@maxachis
Copy link
Collaborator

Summary

  • add a prek pre-commit configuration that runs flake8 with existing plugin set
  • move flake8 ignore settings into shared .flake8 config and point reviewdog workflow at flake8 dot
  • add prek and flake8 tooling to the dev dependency group and update contributor/testing docs

Validation

  • uv lock
  • uv sync --group dev
  • uv run prek install
  • uv run prek run --all-files (fails due to pre-existing repository lint violations; hook wiring/config is functional)

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