-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
28 lines (25 loc) · 829 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[tox]
envlist = py{39,38,37,36}-{unix,windows},mypy,pylint
skipsdist = True
[testenv]
setenv =
VIRTUALENV_PIP=21.3.1
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
deps =
-e ../../python_modules/dagster[mypy,test]
-e ../../python_modules/dagster-graphql
-e ../../python_modules/libraries/dagster-aws
-e ../../python_modules/libraries/dagster-celery
-e ../../python_modules/libraries/dagster-k8s
-e ../../python_modules/libraries/dagster-celery-k8s
allowlist_externals =
/bin/bash
commands =
!windows: /bin/bash -c '! pip list --exclude-editable | grep -e dagster -e dagit'
pytest -vv {posargs}
[testenv:mypy]
commands =
mypy --config=../../pyproject.toml --non-interactive --install-types {posargs} .
[testenv:pylint]
commands =
pylint -j0 --rcfile=../../pyproject.toml {posargs} example_project tests