Commit f2c0626
committed
fix(ci): suppress ruff S108 for test paths and use tempfile.gettempdir()
Pre-commit.ci flagged /tmp literals in test assertions as S108
(insecure temp path). These are test-only strings used to verify
path traversal rejection, not actual temp file usage.
Signed-off-by: Yash Goel <yashhzd@users.noreply.github.com>1 parent 2dc8ee5 commit f2c0626
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1053 | 1053 | | |
1054 | 1054 | | |
1055 | 1055 | | |
1056 | | - | |
| 1056 | + | |
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
| |||
1085 | 1085 | | |
1086 | 1086 | | |
1087 | 1087 | | |
1088 | | - | |
| 1088 | + | |
1089 | 1089 | | |
1090 | 1090 | | |
1091 | | - | |
| 1091 | + | |
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
| |||
0 commit comments