Commit 5208ab1
Fix CI failures: gitleaks path pattern and code formatting
Fixed two CI failures blocking PR #43:
1. Gitleaks false positives:
- Changed path pattern from '/tests/' to 'tests/' (no leading slash)
- File paths in gitleaks are relative to repo root without leading slash
- Now correctly excludes all test files with placeholder secrets
2. Code formatting (ruff):
- Auto-formatted test and view files to use modern Django patterns
- Changed request.META["HTTP_*"] to request.headers.get()
- Consolidated multi-line function calls where appropriate
Verified locally:
- gitleaks detect: PASS (no leaks found)
- make lint: PASS
- make type-check: PASS
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f7825b2 commit 5208ab1
File tree
3 files changed
+5
-7
lines changed- wafer_space/projects
- tests
3 files changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
355 | | - | |
356 | | - | |
| 354 | + | |
357 | 355 | | |
358 | 356 | | |
359 | 357 | | |
| |||
392 | 390 | | |
393 | 391 | | |
394 | 392 | | |
395 | | - | |
| 393 | + | |
396 | 394 | | |
397 | 395 | | |
398 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments