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

pre-commit code document #4283

Merged
merged 4 commits into from
May 20, 2024
Merged

pre-commit code document #4283

merged 4 commits into from
May 20, 2024

Conversation

YuvHayun
Copy link
Contributor

Related Issues

fixes: CIAC-10010

Description

* **-a, --all-files**
Whether to run on all files.
* **--mode**
Special mode to run the pre-commit with.
Copy link
Contributor

Choose a reason for hiding this comment

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

this isnt clear enough IMO. we need docs for how to use properly (and this should give a link)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's a whole section for modes

* **--no-validate**
Whether to run without demisto-sdk validate.
* **--format/--no-format**
Whether to run demisto-sdk format.
Copy link
Contributor

Choose a reason for hiding this comment

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

this flags works?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yap, tested them myself.

@YuvHayun YuvHayun merged commit 0a922d0 into master May 20, 2024
26 of 27 checks passed
@YuvHayun YuvHayun deleted the docuemnt_pre_commit_code branch May 20, 2024 12: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
2 participants