You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Add support for the pre-commit framework #22
The pre-commit framework is a commonly used tool to create git hooks for code validation. Other AWS tools such as cfn-python-lint provide support for the framework
Reacted by Jeremy Witte, Mat Sharpe, David Michael, Pat Myron, George Alton, Mick Jacobsson, Thomas Klinger, robertjan-b, Ben Bridts, Mark Nielsen and 1 more
@kgrvamsi the initial implementation with documentation has been merged to the main branch of the repo. I'm going to close this issue and we can track anything that comes up in the future in a new one. Thanks to everyone for their patience on this and we hope you enjoy using the new hook!
Activity
[-]Add support for the pre-commit framework[/-][+]Feature Request: Add support for the pre-commit framework[/+]nathanataws commentedon Jun 23, 2020
This is very reasonable ask. We're looking at integrations right now. We'll pull this into that discussion.
johnttompkins commentedon Feb 25, 2021
Looks like pre-commit natively supports rust as a buildable language plugin. If this is the case, this should be straightforward to offer.
benbridts commentedon Feb 25, 2021
There are still some hurdles (at least the last time I tried):
Merge pull request #22 from aws-cloudformation/fix-warning-build-errors
barnesrobert commentedon Jun 1, 2021
+1 to this issue. Pre-commits are a vital way of remediating latent vulnerabilities before they're committed.
kgrvamsi commentedon Apr 26, 2023
Do we have any update on this Feature request to support pre-commit hooks?
kgrvamsi commentedon Apr 27, 2023
if the project already have a .pre-commit-confg.yaml i see the below config works
joshfried-aws commentedon Jun 22, 2023
Hi @kgrvamsi we do not have any updates here yet.
feat(pre-commit-hook): Use filenames from hook, update api, and add m…
feat(pre-commit-hook): Initial implementation in python #22 (#524)
dannyvassallo commentedon Jul 9, 2024
@kgrvamsi the initial implementation with documentation has been merged to the main branch of the repo. I'm going to close this issue and we can track anything that comes up in the future in a new one. Thanks to everyone for their patience on this and we hope you enjoy using the new hook!
feat(pre-commit-hook): Initial implementation in python aws-cloudform…
Squashed commit of the following:
feat(pre-commit-hook): Initial implementation in python aws-cloudform…