Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pre-commit configuration for gersemi #1670

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

egecetin
Copy link
Collaborator

@egecetin egecetin commented Dec 25, 2024

Currently all txt files are excluded which prevents fixing of CMake files (which not noticed by me in #1602 unfortunately). This PR should fix this issue

@egecetin egecetin changed the title Fix pre-commit configuration Fix pre-commit configuration for gersemi Dec 25, 2024
@egecetin egecetin marked this pull request as ready for review December 25, 2024 18:32
@egecetin egecetin requested a review from seladb as a code owner December 25, 2024 18:32
@@ -41,6 +41,7 @@ repos:
rev: 0.17.1
hooks:
- id: gersemi
args: ["-c"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This ensures that gersemi run in check mode which returns 1 if any formatting required and 0 otherwise

Copy link

codecov bot commented Dec 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.16%. Comparing base (ab75534) to head (675a5ad).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1670   +/-   ##
=======================================
  Coverage   83.15%   83.16%           
=======================================
  Files         277      277           
  Lines       48193    48193           
  Branches     9949     9966   +17     
=======================================
+ Hits        40074    40078    +4     
+ Misses       7226     7220    -6     
- Partials      893      895    +2     
Flag Coverage Δ
alpine320 75.16% <ø> (ø)
fedora40 75.20% <ø> (+<0.01%) ⬆️
macos-13 80.66% <ø> (ø)
macos-14 80.66% <ø> (ø)
macos-15 80.63% <ø> (ø)
mingw32 70.87% <ø> (-0.05%) ⬇️
mingw64 70.84% <ø> (-0.05%) ⬇️
npcap 85.23% <ø> (-0.09%) ⬇️
rhel94 75.05% <ø> (ø)
ubuntu2004 58.61% <ø> (ø)
ubuntu2004-zstd 58.73% <ø> (ø)
ubuntu2204 74.97% <ø> (+<0.01%) ⬆️
ubuntu2204-icpx 61.44% <ø> (+0.04%) ⬆️
ubuntu2404 75.20% <ø> (-0.03%) ⬇️
unittest 83.16% <ø> (+<0.01%) ⬆️
windows-2019 85.33% <ø> (-0.01%) ⬇️
windows-2022 85.35% <ø> (-0.02%) ⬇️
winpcap 85.33% <ø> (ø)
xdp 50.54% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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