-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Pre Commit] infrastructure enhancements #3850
Conversation
@JudahSchwartz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work!!!!
``` | ||
This key could be use together with [mode](#modes), to skip certain hook when running in a specific mode. | ||
|
||
# Needs key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how are you deciding the header level here 🤨
This key could be use together with [mode](#modes), to skip certain hook when running in a specific mode. | ||
|
||
# Needs key | ||
Needs keys allow to define dependencies between hooks. If a hook with `needs` is skipped, hooks that depend on it will also be skipped. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs doesnt guarantee order? are you sure we dont want to just make them use skip:true for this? Seems like we're complicating things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
and any("in-docker" in need for need in needs) | ||
} | ||
|
||
def _get_docker_and_no_docker_hooks( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docstrings to all these functions please
Pull Request Test Coverage Report for Build 5e99e846-919a-4aa8-b1b3-fb0d4d537c13
💛 - Coveralls |
This adds the following features:
ruff
files by py files only, significantly speeds up execution.demisto-sdk commands
)typer
.fixes: CIAC-8862
fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-8987
needs content small PR:
related: CIAC-7992
related: CIAC-7993
related conent PR: demisto/content#31224