Commit f32ed4f
committed
Fix pre-commit failures: ruff import spacing + SPDX sidecars
pre-commit.ci on #843 surfaced two issues:
- ruff I001: generate.py was missing the blank line required by
the repo's lines-after-imports = 2 isort setting.
- reuse lint: extra.txt had no copyright/licensing information.
Adding sidecar .license files is the repo's established pattern
for plain-text fixtures (see tests/packages/install-data/data.txt.license).
Also add sidecars for the two static.cdx.json fixtures for good measure
-- CI didn't flag them but local reuse runs do. Both are one-line
sidecars matching the rest of the repo's style.1 parent b24415b commit f32ed4f
4 files changed
Lines changed: 10 additions & 0 deletions
File tree
- tests/packages
- dist-info-sboms-platlib/sboms
- dist-info-sboms
- sboms
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments