Skip to content

Commit 9852666

Browse files
author
jhengy
committed
Update vulnerability scan and type check
1 parent 2136315 commit 9852666

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ jobs:
5555
# playwright install-deps
5656
- name: Run tests
5757
run: pytest tests/ -v -m "not external"
58+
- name: Run type checks
59+
continue-on-error: true
60+
run: mypy src/content_aggregator
5861
- name: Run security checks
62+
continue-on-error: true
5963
run: |
6064
bandit -r src/content_aggregator
61-
safety check
62-
- name: Run type checks
63-
run: mypy src/content_aggregator
65+
safety check

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@ dev = [
3030
"pytest-cov",
3131
"mypy>=1.0",
3232
"flake8>=5.0",
33-
"types-requests>=2.28.0"
33+
"types-requests>=2.28.0",
34+
"bandit>=1.7.5",
35+
"safety>=2.3.5"
3436
]

0 commit comments

Comments
 (0)