Skip to content

Commit 533f03c

Browse files
committed
ruff.toml: Disable S603 and S607
Reading the bandit documentation, these warnings are low severity and it would make the code significantly worse to try and work around them, so opt out of them. These calls are working as intended and this script is designed to be used interactively so injection is not a concern. Link: https://bandit.readthedocs.io/en/latest/plugins/b603_subprocess_without_shell_equals_true.html Link: https://bandit.readthedocs.io/en/latest/plugins/b607_start_process_with_partial_path.html Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent e06594d commit 533f03c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ruff.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ ignore = [
2424
'PLR0913', # too-many-arguments
2525
'PLR0915', # too-many-statements
2626
'PLR2004', # magic-value-comparison
27+
'S603', # subprocess-without-shell-equals-true
28+
'S607', # start-process-with-partial-path
2729
]
2830
target-version = 'py38'

0 commit comments

Comments
 (0)