File tree 2 files changed +33
-4
lines changed
2 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,33 @@ jobs:
25
25
run : |
26
26
python -m pip install --upgrade pip
27
27
pip install -U bandit pip-audit setuptools .
28
- - name : Install cid-cmd
29
- run : |
30
- pip install -U .
31
28
- name : Bandit Scan
32
29
run : |
33
30
bandit -r .
31
+ - name : Install cid-cmd
32
+ run : |
33
+ pip install -U .
34
34
- name : Pip Audit
35
35
run : |
36
- pip-audit
36
+ # GHSA-wfm5-v35h-vwf4 gitpython is a dependency of pip-audit not cid-cmd
37
+ # GHSA-cwvm-v4w8-q58c gitpython is a dependency of pip-audit not cid-cmd
38
+ pip-audit --ignore-vuln GHSA-wfm5-v35h-vwf4 --ignore-vuln GHSA-cwvm-v4w8-q58c
39
+
40
+ python-pylint-cid :
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Git clone the repository
44
+ uses : actions/checkout@v3
45
+ - name : Set up Python
46
+ uses : actions/setup-python@v4
47
+ with :
48
+ python-version : ' 3.10'
49
+ - name : Install cfn-lint
50
+ run : |
51
+ pip install pylint
52
+ - name : PyLint
53
+ run : |
54
+ pylint ./cid/
37
55
38
56
cfn-scan-cid :
39
57
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ [MAIN]
2
+ fail-under =7.50 # not the same in github actions and on your pc
3
+
4
+ [FORMAT]
5
+ max-line-length =240
6
+
7
+ [MESSAGES CONTROL]
8
+ # Disabling some:
9
+ # W1203:logging-fstring-interpolation - No performance cosern
10
+ # W0511:fixme - widely used
11
+ disable =W1203,W0511
You can’t perform that action at this time.
0 commit comments