Skip to content
Prev Previous commit
Next Next commit
chore: add pytest-cov and syntax fixes
  • Loading branch information
KingDarBoja committed Feb 26, 2020
commit d72840b35aaba7b9111bfec47d10bcd401c28bc5
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

tests_requires = [
'pytest>=2.7.2',
'pytest-cov==2.8.1',
'pytest-flask>=0.10.0',
'graphql-core>=2.1,<3',
'graphql-server-core>=1.1,<2',
Expand All @@ -17,7 +18,7 @@
dev_requires = [
'flake8==3.7.9',
'isort<4.0.0'
] + tests_require
] + tests_requires

setup(
name="Flask-GraphQL",
Expand Down Expand Up @@ -50,9 +51,9 @@
install_requires=install_requires,
tests_require=tests_requires,
extras_require={
'test': tests_require,
'test': tests_requires,
'dev': dev_requires,
}
},
include_package_data=True,
zip_safe=False,
platforms="any",
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py{27,35,36,37}
flake8,import-order,pypy
flake8,import-order
requires = tox-conda

[testenv]
Expand All @@ -21,7 +21,6 @@ commands =

[testenv:import-order]
basepython=python3.6
deps =
isort
deps = -e.[dev]
commands =
isort --check-only flask_graphql/ -rc