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 #783

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrisdecker1201
Copy link
Contributor

This is a PR for discussion :).

I was looking for a possibility to introduce some kind of automatically validation of SPDX files inside of a git repository.

I found pre-commit, which could be a solution for my goal. It will execute the pyspdxtools --infile for validation.

Currenty this is working only for one file and only for *.json and not the other possible file-formats, but it's working.

Do you have interest in integrating pre-commit? If so, I think I will try to make this possibel.

Signed-off-by: Christian Decker <[email protected]>
@maxhbr
Copy link
Member

maxhbr commented Feb 15, 2024

This is a PR for discussion :).

sorry, that no discussion happened yet.

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