Skip to content

Contributing docs and refactor dev packages #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 16, 2020
Prev Previous commit
Next Next commit
chore: test travis env tools
  • Loading branch information
KingDarBoja committed Mar 15, 2020
commit d433a6538bf532b21c46fb3c4f0de3fbcd5b182e
17 changes: 11 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[tox]
envlist =
black,flake8,import-order,mypy,manifest,py{27,35,36,37,38,39-dev,py,py3}
black,flake8,import-order,mypy,manifest,
py{27,35,36,37,38,39-dev,py,py3}
; requires = tox-conda

[travis]
python =
3.6: py36,black,flake8,import-order,mypy

[testenv]
passenv = *
setenv =
Expand All @@ -16,31 +21,31 @@ commands =
pytest --cov-report=term-missing --cov=graphql_server tests {posargs}

[testenv:black]
basepython=python3.7
basepython=python3.6
deps = -e.[dev]
commands =
black --check graphql_server tests

[testenv:flake8]
basepython=python3.7
basepython=python3.6
deps = -e.[dev]
commands =
flake8 setup.py graphql_server tests

[testenv:import-order]
basepython=python3.7
basepython=python3.6
deps = -e.[dev]
commands =
isort -rc graphql_server/ tests/

[testenv:mypy]
basepython=python3.7
basepython=python3.6
deps = -e.[dev]
commands =
mypy graphql_server tests --ignore-missing-imports

[testenv:manifest]
basepython = python3.7
basepython = python3.6
deps = -e.[dev]
commands =
check-manifest -v
Expand Down