Debian Codegraph @

.github/workflows/code_checker.yml

raw symbols SCIP
1 name: Code checker
2
3 on:
4 push:
5 pull_request:
6
7 jobs:
8 validate:
9 runs-on: "ubuntu-latest"
10 strategy:
11 matrix:
12 python-version:
13 - "3.13"
14 steps:
15 - uses: actions/checkout@v6
16 - name: Set up Python ${{ matrix.python-version }}
17 uses: actions/setup-python@v6
18 with:
19 python-version: ${{ matrix.python-version }}
20
21 - uses: actions/cache@v5
22 with:
23 path: ~/.cache/pip
24 key: ${{ hashFiles('setup.py') }}
25 - name: Install depencency
26 run: |
27 pip install aiohttp
28 pip install dlint flake8 flake8-bandit flake8-bugbear flake8-deprecated flake8-executable isort pylint
29 - name: Flake8 Code Linter
30 run: |
31 flake8 airthings/ --max-line-length=120
32 - name: isort
33 run: |
34 isort **/*.py
35 - name: Pylint Code Linter
36 run: |
37 pylint --disable=C,R --enable=unidiomatic-typecheck airthings