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

Add pre-commit hook to check for detray units #883

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

stephenswat
Copy link
Member

This commit adds a little pre-commit hook (inspired by #866 and #876) that ensures that we don't re-introduce uses of the detray::unit and detray::constant namespaces. Can be extended in the future to hold more patterns if desired.

Depends on #876.

@stephenswat stephenswat added the cicd Changes related to the CI system label Feb 21, 2025
@stephenswat
Copy link
Member Author

I added the track parameters too, so this now depends on #867.

@stephenswat stephenswat marked this pull request as ready for review February 21, 2025 15:00
This commit adds a little pre-commit hook (inspired by acts-project#866 and acts-project#876)
that ensures that we don't re-introduce uses of the `detray::unit` and
`detray::constant` namespaces. Can be extended in the future to hold
more patterns if desired.
@stephenswat stephenswat merged commit 0e989e6 into acts-project:main Feb 24, 2025
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd Changes related to the CI system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants