-
Notifications
You must be signed in to change notification settings - Fork 122
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
The towncrier-check
pre-commit hook doesn't actually run towncrier check
#600
Comments
I am using |
I am not using pre-commit hooks for my projects ... so I don't know how and why they should be used. I think that we should start fixing this issue by documenting the pre-commit hooks so that we have the information of what we want to achieve with the hook Things that I check for a branch / PR:
Things that are needed and not yet implemented |
pre-commit is useful to enforce standards. Since it needs active buy-in from your developers to actually use it, it usually lives as a git action too to actually enforce it :) From the things you check for, I'd say we should have different hooks that do each of those:
|
So far the approach is to have a single
|
Since this discussion was getting a bit esoteric, I thought it would be good to actually just suggest the changes to the current hooks. The current |
This seems an unnatural correlation and I'm not sure what the purpose of the current hook (
towncrier --draft
) would really even be!Also, it would make sense that this always runs, not just when a file is found in
newsfragments/
since the check is supposed to be checking whether or not there are actually changelog updates, correct?The text was updated successfully, but these errors were encountered: