fixes after change to src-layout
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user