Skip to content

Add pre-commit hooks and consolidate dev dependencies#506

Merged
raphaelvallat merged 1 commit into
mainfrom
precommit
Mar 14, 2026
Merged

Add pre-commit hooks and consolidate dev dependencies#506
raphaelvallat merged 1 commit into
mainfrom
precommit

Conversation

@raphaelvallat
Copy link
Copy Markdown
Owner

Add pre-commit hooks and consolidate dev dependencies

Changes

  • Add .pre-commit-config.yaml — runs ruff (with --fix) and ruff-format automatically on every commit via ruff-pre-commit
  • Consolidate dependency groups — merge test into dev in pyproject.toml; add mpmath and pre-commit to dev
  • Update CI workflows and docs — replace --group=test with --group=dev across all GitHub Actions workflows, README.rst, and docs/contributing.rst
  • Document pre-commit setup in docs/contributing.rst with install instructions

@raphaelvallat raphaelvallat self-assigned this Mar 14, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.36%. Comparing base (c2a80ba) to head (fa76221).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #506   +/-   ##
=======================================
  Coverage   98.36%   98.36%           
=======================================
  Files          19       19           
  Lines        3304     3304           
  Branches      490      490           
=======================================
  Hits         3250     3250           
  Misses         32       32           
  Partials       22       22           

☔ 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.

@raphaelvallat raphaelvallat added this to the 0.6.1 milestone Mar 14, 2026
@raphaelvallat raphaelvallat merged commit 14994d6 into main Mar 14, 2026
26 checks passed
@raphaelvallat raphaelvallat deleted the precommit branch March 14, 2026 12:58
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