test: simplify local devenv deps

This commit is contained in:
Casper da Costa-Luis 2021-09-19 11:44:41 +01:00
parent a7e717dc53
commit 626caf2df2
No known key found for this signature in database
GPG Key ID: F5126E5FBD2512AD
3 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
flake8 pre-commit
pytest pytest
pytest-cov pytest-cov
pytest-timeout pytest-timeout

View File

@ -44,7 +44,8 @@ all:
@+make build @+make build
flake8: flake8:
@+flake8 -j 8 --count --statistics --exit-zero . @+pre-commit run -a flake8
@+pre-commit run -a nbstripout
test: test:
TOX_SKIP_ENV=perf tox --skip-missing-interpreters -p all TOX_SKIP_ENV=perf tox --skip-missing-interpreters -p all
@ -159,6 +160,7 @@ install_build:
python -m pip install -r .meta/requirements-dev.txt python -m pip install -r .meta/requirements-dev.txt
install_test: install_test:
python -m pip install -r .meta/requirements-test.txt python -m pip install -r .meta/requirements-test.txt
pre-commit install
build: build:
@make prebuildclean @make prebuildclean

View File

@ -22,14 +22,10 @@ dependencies:
- pytest-timeout - pytest-timeout
- pytest-asyncio # [py>=3.7] - pytest-asyncio # [py>=3.7]
- nbval - nbval
- flake8
- flake8-bugbear
- flake8-comprehensions
- coverage - coverage
# extras # extras
- dask # dask - dask # dask
- matplotlib # gui - matplotlib # gui
- nbstripout # notebook editing
- numpy # pandas, keras, contrib.tenumerate - numpy # pandas, keras, contrib.tenumerate
- pandas - pandas
- tensorflow # keras - tensorflow # keras
@ -41,5 +37,3 @@ dependencies:
- pydoc-markdown # `cd docs && pymake` - pydoc-markdown # `cd docs && pymake`
- pip: - pip:
- py-make >=0.1.0 # `setup.py make/pymake` - py-make >=0.1.0 # `setup.py make/pymake`
- flake8-debugger # flake8
- flake8-string-format # flake8