Skip to content

Use prek#859

Merged
joostlek merged 1 commit into
mainfrom
prek
Jun 2, 2026
Merged

Use prek#859
joostlek merged 1 commit into
mainfrom
prek

Conversation

@joostlek

@joostlek joostlek commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Migrates from pre-commit to prek, mirroring the migration in python-trmnl.

  • Move builtin pre-commit-hooks (check-case-conflict, check-json, check-yaml, end-of-file-fixer, trailing-whitespace, no-commit-to-branch, etc.) from local system hooks into a builtin repo block
  • Replace pre-commit with prek in dev dependencies
  • Split linting workflow: new prek-builtin-hooks job installs prek via pipx (no Poetry/Python deps required); other jobs switched from pre-commit run to prek run
  • Update README references
  • Add [*.yaml] indent_size = 2 to .editorconfig

@sonarqubecloud

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1d36da1) to head (f971dce).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #859   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          245       245           
  Branches        14        14           
=========================================
  Hits           245       245           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joostlek joostlek added the ci Work that improves the continue integration. label Jun 2, 2026
@joostlek joostlek merged commit 3cfefbf into main Jun 2, 2026
15 of 16 checks passed
@joostlek joostlek deleted the prek branch June 2, 2026 17:19
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci Work that improves the continue integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant