Commit 6b17cd0
committed
DOC: Cross-reference ruff/black/isort version pins between the two files
ruff, black and isort are each pinned twice: once in pyproject.toml's
testing extra (the range a developer installs from) and once in
.pre-commit-config.yaml (the exact rev pre-commit builds its
environment from). Only black and isort carried a one-sided
"keep synced" comment, in .pre-commit-config.yaml only; ruff had
none anywhere. A contributor editing one pin had no in-file pointer
to the other.
Adds a same-line comment at each of the six pin sites naming the
file holding its counterpart, so following either pin leads
directly to the other. No version or behavior change.
Signed-off-by: Hans Johnson <hans-johnson@uiowa.edu>1 parent d1306f6 commit 6b17cd0
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
0 commit comments