Skip to content

Commit 4af1c75

Browse files
authored
更新 Python CI.yml
1 parent 1f20b49 commit 4af1c75

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/Python CI.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,16 @@ jobs:
2222
- name: Run Codespell
2323
run: codespell --config pyproject.toml || true
2424

25-
- name: Run Safety
26-
run: safety check || true
27-
25+
- name: Run Bandit
26+
run: bandit --recursive --skip B101 . || true
27+
2828
- name: Run Ruff (linting)
2929
run: ruff check . --config pyproject.toml
3030

3131
- name: Run Ruff (formatting check)
3232
run: ruff format --check . --config pyproject.toml || true
3333

34-
- name: Run Bandit
35-
run: bandit --recursive --skip B101 . || true
36-
34+
3735

3836
- name: Setup Mypy cache
3937
run: mkdir -p .mypy_cache

0 commit comments

Comments
 (0)