Skip to content

Commit 04104a0

Browse files
committed
add bandit
Signed-off-by: BAStos525 <[email protected]>
1 parent 252c46c commit 04104a0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/pr-pytests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ jobs:
4444
# pip install pytest faker allure-pytest pytest-cov bandit pylint &&
4545
# pip install --break-system-packages target/wheels/iroha-*.whl &&
4646
# python -m pytest --cov=. --cov-report xml:coverage-reports/coverage-iroha-python.xml tests/"
47-
- name: Run Bandit
47+
# - name: Run Bandit
48+
# run: |
49+
# pip install bandit
50+
# bandit --format json --output bandit-report.json --recursive .
51+
- name: Run pylint
4852
run: |
49-
pip install bandit
50-
bandit --format json --output bandit-report.json --recursive .
53+
pip install pylint
54+
pylint tests/ -r n > pylint-report.txt
5155
- name: SonarQube
5256
if: always()
5357
uses: sonarsource/sonarqube-scan-action@master

0 commit comments

Comments
 (0)