Skip to content

Commit 2f0ab8b

Browse files
authored
Remove etc from list of temp paths (#1263)
In the docs for B108, it lists the configurable paths it checks for temp directory-like locations. In addition, it includes a bullet point for "etc". This might be misinterpretted as "/etc". I believe the original intention was to state etcetera, but might be confusing as listed. This change just removes it from the list to get rid of any potential confusion. Signed-off-by: Eric Brown <[email protected]>
1 parent d8feade commit 2f0ab8b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bandit/plugins/general_hardcoded_tmp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
- /tmp
1515
- /var/tmp
1616
- /dev/shm
17-
- etc
1817
1918
**Config Options:**
2019

0 commit comments

Comments
 (0)