Skip to content

ci: run pre-commit via pre-commit/action and lite-action - #825

Open
fstagni wants to merge 1 commit into
DIRACGrid:integrationfrom
fstagni:precommit-lite
Open

fstagni wants to merge 1 commit into
DIRACGrid:integrationfrom
fstagni:precommit-lite

Conversation

@fstagni

@fstagni fstagni commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Part of DIRACGrid/.github#5.

Aligns WebAppDIRAC with the org-standard pre-commit CI pattern used by intercede, signurlarity, diracx-charts, diracx (#1193) and DIRAC (#8904): pre-commit/action runs the hooks and pre-commit-ci/lite-action pushes auto-fixes to PR branches. Hook rev updates come from Renovate's pre-commit manager, enabled org-wide in DIRACGrid/.github#8 (the pinned hooks here — black 23.7.0, flynt 0.77, pyupgrade v3.10.1 — are from 2023 and will start getting update PRs; they need Python 3.11 until then, hence the pin stays with a comment).

rel-v5r0 can follow via #821 once this is validated.

Same pattern as the other DIRACGrid repositories (intercede,
signurlarity, diracx-charts, diracx): pre-commit/action runs the hooks
and pre-commit-ci/lite-action pushes auto-fixes to PR branches. Hook
rev updates come from Renovate's pre-commit manager (DIRACGrid/.github#8).

Python stays pinned to 3.11 until the pinned hooks (flynt 0.77,
pyupgrade v3.10.1, black 23.7.0) are updated, as they predate the
removal of ast.Str in Python 3.12.

Part of DIRACGrid/.github#5.
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