Skip to content

Fix for license check hook adding multiple license#156

Merged
sfc-gh-mwyatt merged 1 commit intomainfrom
mwyatt/fix-license-script
Apr 14, 2025
Merged

Fix for license check hook adding multiple license#156
sfc-gh-mwyatt merged 1 commit intomainfrom
mwyatt/fix-license-script

Conversation

@sfc-gh-mwyatt
Copy link
Copy Markdown
Collaborator

By default pre-commit runs the pre-commit hooks on multiple parallel processes (https://pre-commit.com/#hooks-require_serial). Setting require_serial to true for our license check hook to prevent the adding of the license text multiple times to newly added files.

Copy link
Copy Markdown
Collaborator

@sfc-gh-sbekman sfc-gh-sbekman left a comment

Choose a reason for hiding this comment

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

super!

@sfc-gh-mwyatt sfc-gh-mwyatt merged commit c1a688b into main Apr 14, 2025
4 checks passed
@sfc-gh-mwyatt sfc-gh-mwyatt deleted the mwyatt/fix-license-script branch April 14, 2025 22:03
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