Skip to content

Conversation

o-santi
Copy link
Contributor

@o-santi o-santi commented Oct 1, 2025

What kind of change does this PR introduce?

Drop the pre-commit tool, by doing the same command calls through uv directly instead. Currently, ruff is installed through pre-commit, instead of by uv, which may cause differences in versions between those. pre-commit is also very slow, and is only used to run ruff. The checks from pre-commit-hooks that are removed are all covered by ruff check/ruff format. It doesn't really make sense to run commitizen manually so I didn't bother adding a target for that, but I did add one for ruff, in order to run it in CI too.

Also added make install-hooks to remove the need to pre-commit install.

…ooks

this should ensure that pre-commit does not install the same
tools (ruff) with different versions and cause weird mismatch errors
with the ones from uv.
@coveralls
Copy link

coveralls commented Oct 1, 2025

Pull Request Test Coverage Report for Build 18168301904

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.871%

Totals Coverage Status
Change from base Build 18164912653: 0.0%
Covered Lines: 8714
Relevant Lines: 9283

💛 - Coveralls

@o-santi o-santi merged commit f453dce into main Oct 1, 2025
17 of 26 checks passed
@o-santi o-santi deleted the drop-pre-commit branch October 1, 2025 17:53
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.

3 participants