File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1+ # https://tox.readthedocs.io/en/latest/example/basic.html#compressing-dependency-matrix
12[tox]
2- envlist = pre-commit,py37
3+ envlist = py{37,38}-graphene{2,21}-pydantic{0,1}
34isolated_build = true
45
56[testenv]
67whitelist_externals = poetry
8+ deps =
9+ graphene2: graphene>=2.0,<2.1
10+ graphene21: graphene>=2.1,<3.0
11+ pydantic0: pydantic>=0.26,<1.0
12+ pydantic1: pydantic>=1.0,<2.0
13+ pytest
14+ pytest-cov
715commands =
8- poetry install -v
916 pytest tests/ --cov-report =term-missing --cov =graphene_pydantic {posargs}
10- mypy --ignore-missing-imports --no-strict-optional -m graphene_pydantic
11- black --check graphene_pydantic
1217
13- [testenv:pre-commit]
14- basepython = python3.7
15- whitelist_externals = poetry
16- commands =
17- poetry install -v
18- pre-commit {posargs:run --all-files}
You can’t perform that action at this time.
0 commit comments