aristanetworks / avd-workshops

Arista Automation Workshop
https://aristanetworks.github.io/avd-workshops/
21 stars 29 forks source link

Docs(CI/CD): Breakup pre-commit codeblocks to separate command from output #115

Closed mthiel117 closed 1 year ago

mthiel117 commented 1 year ago

Example:

➜  ci-workshops-avd git:(main) ✗ pre-commit run -a
trim trailing whitespace.................................................Passed
fix end of files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook

Break this into 2 code blocks like:

pre-commit run -a

Output:

trim trailing whitespace.................................................Passed
fix end of files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook