-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a single
hardcoded_tmp_directory
in bandit internal settings
- Loading branch information
1 parent
86b702b
commit 0607199
Showing
12 changed files
with
75 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 35 additions & 0 deletions
35
src/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S108_S108.py.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
source: src/flake8_bandit/mod.rs | ||
expression: checks | ||
--- | ||
- kind: | ||
HardcodedTempFile: /tmp/abc | ||
location: | ||
row: 5 | ||
column: 10 | ||
end_location: | ||
row: 5 | ||
column: 20 | ||
fix: ~ | ||
parent: ~ | ||
- kind: | ||
HardcodedTempFile: /var/tmp/123 | ||
location: | ||
row: 8 | ||
column: 10 | ||
end_location: | ||
row: 8 | ||
column: 24 | ||
fix: ~ | ||
parent: ~ | ||
- kind: | ||
HardcodedTempFile: /dev/shm/unit/test | ||
location: | ||
row: 11 | ||
column: 10 | ||
end_location: | ||
row: 11 | ||
column: 30 | ||
fix: ~ | ||
parent: ~ | ||
|