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

maint: Correctly exclude json files in clang-format #3749

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

mathbunnyru
Copy link
Contributor

No description provided.

@@ -40,7 +40,7 @@ repos:
hooks:
- id: clang-format
args: [--style=file]
exclude: ".json"
Copy link
Contributor Author

@mathbunnyru mathbunnyru Jan 15, 2025

Choose a reason for hiding this comment

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

I think it is regex match, that's why libmamba/include/mamba/util/json.hpp matched as well.
It's easier to use exclude_types here

@jjerphan jjerphan added the release::ci_docs For PRs related to CI or documentation label Jan 15, 2025
@mathbunnyru mathbunnyru reopened this Jan 15, 2025
@jjerphan jjerphan merged commit 8591bbe into mamba-org:main Jan 15, 2025
46 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release::ci_docs For PRs related to CI or documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants