Skip to content

Commit 85d6075

Browse files
authored
更新 python.yml
1 parent 7403339 commit 85d6075

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [opened, synchronize, reopened]
66
push:
77
branches:
8-
- main
8+
- main
99

1010
concurrency:
1111
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -35,13 +35,11 @@ jobs:
3535
run: bandit -r . --skip B101,B105 || true
3636

3737
- name: Run Pytest tests
38-
run: pytest
38+
run: pytest
3939

4040
- name: Run Ruff checks with ignored rules
4141
run: |
4242
ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001
4343
4444
- name: Run Mypy type checks
45-
run: mypy . --ignore-missing-imports || true
46-
47-
45+
run: mypy . --ignore-missing-imports || true

0 commit comments

Comments
 (0)