2023-08-24 12:36:37 +02:00
|
|
|
name: lint
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
|
|
|
|
jobs:
|
2023-11-28 10:39:21 +01:00
|
|
|
|
2023-08-24 12:36:37 +02:00
|
|
|
black:
|
|
|
|
uses: ./.github/workflows/make.yml
|
2023-11-28 10:39:21 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: ["3.9", "3.10"]
|
2023-08-24 12:36:37 +02:00
|
|
|
with:
|
|
|
|
make: checkblack
|
2023-11-28 10:39:21 +01:00
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
2023-08-24 12:36:37 +02:00
|
|
|
ruff:
|
|
|
|
uses: ./.github/workflows/make.yml
|
2023-11-28 10:39:21 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: ["3.9", "3.10"]
|
2023-08-24 12:36:37 +02:00
|
|
|
with:
|
|
|
|
make: checkruff
|
2023-11-28 10:39:21 +01:00
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
2023-08-24 12:36:37 +02:00
|
|
|
mypy:
|
|
|
|
uses: ./.github/workflows/make.yml
|
2023-11-28 10:39:21 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: ["3.9", "3.10"]
|
2023-08-24 12:36:37 +02:00
|
|
|
with:
|
|
|
|
make: mypy
|
2023-11-28 10:39:21 +01:00
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
2023-08-24 12:36:37 +02:00
|
|
|
pyright:
|
|
|
|
uses: ./.github/workflows/make.yml
|
2023-11-28 10:39:21 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: ["3.9", "3.10"]
|
2023-08-24 12:36:37 +02:00
|
|
|
with:
|
|
|
|
make: pyright
|
2023-11-28 10:39:21 +01:00
|
|
|
python-version: ${{ matrix.python-version }}
|
2023-08-24 12:36:37 +02:00
|
|
|
npm: true
|
2023-11-28 10:39:21 +01:00
|
|
|
|
|
|
|
|
2023-08-24 12:36:37 +02:00
|
|
|
prettier:
|
|
|
|
uses: ./.github/workflows/make.yml
|
|
|
|
with:
|
2023-10-09 18:15:44 +02:00
|
|
|
make: checkprettier
|
2023-08-24 12:36:37 +02:00
|
|
|
npm: true
|
2023-11-28 10:39:21 +01:00
|
|
|
|
|
|
|
bundle:
|
|
|
|
uses: ./.github/workflows/make.yml
|
|
|
|
with:
|
|
|
|
make: checkbundle
|
|
|
|
npm: true
|