added stylecheck job to github action

This commit is contained in:
truePhilipp committed 2024-05-02 18:37:03 +02:00
1 parent 3652cebd9f
commit 2d5551b80d
3 files changed
+21 -5

No files matched your search

+17
View File
@@ -3,6 +3,23 @@ name: Python package
on: [push]
jobs:
stylecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Dependencies
run: |
pip install ".[test]"
mypy src || true
mypy --install-types --non-interactive
- name: Stylecheck
run: |
mypy --strict src
pycodestyle --max-line-length 120 src
test:
runs-on: ubuntu-latest
strategy: