forked from akaihola/darker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
5 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
# Configuration for Bandit to run security checks on test modules | ||
# Used in `.github/workflows/bandit.yml` | ||
targets: ./src/darker/tests | ||
skips: | ||
- B101 |
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 |
---|---|---|
|
@@ -13,9 +13,11 @@ jobs: | |
- name: Bandit security check for code | ||
uses: ioggstream/[email protected] | ||
with: | ||
project_path: . | ||
config_file: ./.bandit.code.yaml | ||
|
||
- name: Bandit security check for tests | ||
uses: ioggstream/[email protected] | ||
with: | ||
project_path: ./src/darker/tests | ||
config_file: ./.bandit.tests.yaml |