Skip to content

chore(pre_commit): add pyproject-fmt and validate-pyproject hooks - #2045

Merged
Borda merged 16 commits into
developfrom
lint/pyproject
Jan 13, 2026
Merged

chore(pre_commit): add pyproject-fmt and validate-pyproject hooks#2045
Borda merged 16 commits into
developfrom
lint/pyproject

Conversation

@Borda

@Borda Borda commented Jan 7, 2026

Copy link
Copy Markdown
Member

This pull request adds two new pre-commit hooks to improve the consistency and validation of pyproject.toml files in the project. These hooks will help ensure that the project's configuration files are properly formatted and validated before commits are made.

Pre-commit hook additions for pyproject.toml:

  • Added the pyproject-fmt hook (from tox-dev/pyproject-fmt) to automatically format pyproject.toml files for consistency.
  • Added the validate-pyproject hook (from abravalheri/validate-pyproject) to validate pyproject.toml files and catch configuration errors early.

Copilot AI review requested due to automatic review settings January 7, 2026 12:22
@Borda
Borda requested a review from SkalskiP as a code owner January 7, 2026 12:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds two pre-commit hooks to improve the consistency and validation of the project's pyproject.toml configuration file.

Key Changes:

  • Added pyproject-fmt hook (v2.6.0) to automatically format pyproject.toml for consistency
  • Added validate-pyproject hook (v0.24.1) to validate pyproject.toml structure and catch configuration errors

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .pre-commit-config.yaml Outdated
Comment thread .pre-commit-config.yaml Outdated
Comment thread .pre-commit-config.yaml Outdated
Borda and others added 2 commits January 7, 2026 13:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Borda
Borda enabled auto-merge (squash) January 9, 2026 08:11
@codecov

codecov Bot commented Jan 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52%. Comparing base (3abb624) to head (a1bc85e).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #2045   +/-   ##
=======================================
  Coverage       52%     52%           
=======================================
  Files           61      61           
  Lines         7076    7076           
=======================================
  Hits          3657    3657           
  Misses        3419    3419           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Borda
Borda disabled auto-merge January 13, 2026 17:34
@Borda
Borda merged commit f1e0c9c into develop Jan 13, 2026
26 checks passed
@Borda
Borda deleted the lint/pyproject branch January 13, 2026 17:48
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.

2 participants