Commit f2f7a30
committed
chore: Enable subset of Ruff security rules
Enabled a subset of flake8-bandit security rules.
Some S6* rules conflict with one another, with some requiring shell=True
and others preventing it. We enable S602 and S604 to prevent it.
Although we do use Mako templates, they are not used with any file types
that can contain executable code, so S7* rules aren't useful.1 parent 846b6f0 commit f2f7a30
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
0 commit comments