add mypy
This commit is contained in:
parent
f3e747103f
commit
70a260b516
23 changed files with 312 additions and 148 deletions
13
.github/workflows/lint.yml
vendored
13
.github/workflows/lint.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Ruff
|
||||
name: lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
@ -13,4 +13,13 @@ jobs:
|
|||
- uses: chartboost/ruff-action@v1
|
||||
- uses: chartboost/ruff-action@v1
|
||||
with:
|
||||
args: format --check
|
||||
args: format --check
|
||||
mypy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- run: pip install mypy==1.8.0
|
||||
- run: mypy --install-types --non-interactive
|
||||
Loading…
Reference in a new issue