Commit a2d7054
Add documentation regarding new functionality of packit init (#1056)
Add documentation regarding new functionality of packit init
Documentation now describes new requirements connected to the functionality of packit init that automatically adds a packit-specific pre-commit hook that validates .packit.yaml to the user's pre-commit onfiguration file (skipped if pre-commit configuration file is not present). Two new flags were also edit to modify this behavior:
--force-precommit : initializes an empty pre-commit onfiguration file if missing and adds aforementioned pre-commit hook
--without-precommit : skips this pre-commit-related behavior
Related to #2641
Merge at the same time as #2641
Reviewed-by: Matej Focko1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | | - | |
29 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments