Commit 54f4043
committed
Add documentation regarding new functionality of packit init
Documentation now describes new requirements connected to the
functionality that automatically adds packit-specific pre-commit
check that validates .packit.yaml. Requirements are:
1. Working directory be a git repo
2. Pre-commit configuration file must be present
A new flag was also added, which causes packit init to automatically
create pre-commit configuration file in case it is missing.1 parent 4f9db80 commit 54f4043
1 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