fixes after change to src-layout

This commit is contained in:
scito
2022-12-30 15:31:41 +01:00
parent 3e4476e317
commit 144c9e6320
10 changed files with 63 additions and 21 deletions

View File

@@ -36,8 +36,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-mock pytest-cov mypy types-protobuf
pip install --use-pep517 -r requirements.txt
pip install -r requirements-dev.txt
pip install .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
@@ -46,8 +46,8 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=200 --statistics
- name: Type checking with mypy
run: |
mypy --install-types --non-interactive *.py
mypy --strict *.py
mypy --install-types --non-interactive src tests
mypy --strict src tests
if: matrix.python-version == '3.x'
- name: Test with pytest
run: pytest