Skip to content

Commit

Permalink
add pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws committed Aug 31, 2023
1 parent 961118b commit 6232c7a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,32 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -U bandit pip-audit setuptools .
- name: Install cid-cmd
run: |
pip install -U .
- name: Bandit Scan
run: |
bandit -r .
- name: Install cid-cmd
run: |
pip install -U .
- name: Pip Audit
run: |
pip-audit
python-pylint-cid:
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install cfn-lint
run: |
pip install pylint
- name: PyLint
run: |
pylint .cid/
cfn-scan-cid:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[MAIN]
exit-zero=True
fail-under=7.79

[FORMAT]
max-line-length=240
Expand Down

0 comments on commit 6232c7a

Please sign in to comment.