mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-23 01:20:03 +02:00
Update python-package.yml
This commit is contained in:
parent
bde538cd7e
commit
c3e760c483
6
.github/workflows/python-package.yml
vendored
6
.github/workflows/python-package.yml
vendored
@ -28,11 +28,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install poetry
|
python -m pip install poetry
|
||||||
poetry install .
|
poetry install
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
# 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
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest
|
poetry run pytest
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from .server import Server
|
from .server import Server
|
||||||
from .web_server import WebAPI
|
|
||||||
|
|
||||||
__all__ = ["Server"]
|
__all__ = ["Server"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user