Skip to content

Commit 8c61ba7

Browse files
authored
change python Workflows
1 parent 7b8c485 commit 8c61ba7

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,7 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.13'
25-
26-
- name: Cache Python dependencies
27-
uses: actions/cache@v3
28-
with:
29-
path: ~/.cache/pip
30-
key: ${{ runner.os }}-python-${{ hashFiles('**/requirements.txt') }}
31-
restore-keys: |
32-
${{ runner.os }}-python-
24+
python-version: '3.13.7'
3325

3426
- name: Install all dependencies and tools
3527
run: |
@@ -40,11 +32,11 @@ jobs:
4032
run: codespell --skip "*.json,*.txt,*.pdf" || true
4133

4234
- name: Run Bandit security scan
43-
run: bandit -r . || true
35+
run: bandit -r . --skip B101 || true
4436

4537
- name: Run Ruff checks with ignored rules
4638
run: |
47-
ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001,UP038
39+
ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001
4840
4941
- name: Run Mypy type checks
5042
run: mypy . --ignore-missing-imports || true

0 commit comments

Comments
 (0)