Hanno Böck

Hanno Böck commited on 2026-07-25 14:33:18
Zeige 2 geänderte Dateien mit 6 Einfügungen und 6 Löschungen.

... ...
@@ -1,5 +1,5 @@
1 1
 # SPDX-License-Identifier: 0BSD
2
-# last update: 2026-02-04
2
+# last update: 2026-07-25
3 3
 # https://github.com/hannob/codingstyle
4 4
 ---
5 5
 name: runpyci
... ...
@@ -14,9 +14,9 @@ jobs:
14 14
         python-version: [3.12, 3.x]
15 15
     runs-on: ubuntu-latest
16 16
     steps:
17
-      - uses: actions/checkout@v6
17
+      - uses: actions/checkout@v7
18 18
       - name: Set up Python ${{ matrix.python-version }} ${{ matrix.os }}
19
-        uses: actions/setup-python@v6
19
+        uses: actions/setup-python@v7
20 20
         with:
21 21
           python-version: ${{ matrix.python-version }}
22 22
       - name: Install dependencies and linters
... ...
@@ -1,13 +1,13 @@
1 1
 #!/bin/bash
2 2
 # SPDX-License-Identifier: 0BSD
3
-# last update: 2026-02-04
3
+# last update: 2026-07-25
4 4
 # https://github.com/hannob/codingstyle
5 5
 set -euo pipefail
6 6
 
7 7
 PYLINTIG="consider-using-with,design,fixme,invalid-name,missing-docstring,modified-iterating-list,no-member,possibly-used-before-assignment,protected-access,too-many-lines,unused-argument,broad-exception-caught,c-extension-no-member,duplicate-code,global-statement,global-variable-not-assigned,import-error,import-outside-toplevel,inconsistent-return-statements,redefined-outer-name,unspecified-encoding"
8
-RUFFIG="ANN,C90,D,FIX001,FIX002,ICN001,PLR0911,PLR0912,PLR0913,PLR0915,PTH,RUF102,S314,S501,S603,SLF001,T201,TD002,TD003,B008,BLE001,COM812,FBT002,I001,N802,N806,PERF203,PERF401,PLC0415,PLR2004,PLW0602,PLW0603,PT009,RET505,RUF100,S202,S310,S607,S608,SIM102,SIM105,SIM108,SIM113,SIM114,SIM115,TD001,TD004,TRY300"
8
+RUFFIG="ANN,C90,CPY001,D,FIX001,FIX002,ICN001,PLR0911,PLR0912,PLR0913,PLR0915,PLR0917,PTH,RUF102,S314,S501,S603,SLF001,T201,TD002,TD003,B008,BLE001,COM812,FBT002,I001,N802,N806,PERF203,PERF401,PLC0415,PLR2004,PLW0602,PLW0603,PT009,RET505,RUF100,S202,S310,S607,S608,SIM102,SIM105,SIM108,SIM113,SIM114,SIM115,TD001,TD004,TRY300"
9 9
 
10
-pyfind=$(find -name \*.py)
10
+pyfind=$(find . -name \*.py)
11 11
 pygrep=$(grep -rl --exclude-dir=.ruff_cache '^#!/usr/bin/python\|^#!/usr/bin/env python' . || true)
12 12
 pyfiles=$(echo "$pyfind" "$pygrep" | sort -u)
13 13
 
14 14