Update python-package.yml

This commit is contained in:
Mose Müller 2023-08-02 15:26:03 +02:00 committed by Mose Müller
parent bde538cd7e
commit c3e760c483
2 changed files with 3 additions and 4 deletions

View File

@ -28,11 +28,11 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install .
poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics
poetry run flake8 src/pydase --count --show-source --statistics
- name: Test with pytest
run: |
pytest
poetry run pytest

View File

@ -1,4 +1,3 @@
from .server import Server
from .web_server import WebAPI
__all__ = ["Server"]