Skip to content

Commit d72840b

Browse files
committed
chore: add pytest-cov and syntax fixes
1 parent 7d9d754 commit d72840b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
tests_requires = [
1010
'pytest>=2.7.2',
11+
'pytest-cov==2.8.1',
1112
'pytest-flask>=0.10.0',
1213
'graphql-core>=2.1,<3',
1314
'graphql-server-core>=1.1,<2',
@@ -17,7 +18,7 @@
1718
dev_requires = [
1819
'flake8==3.7.9',
1920
'isort<4.0.0'
20-
] + tests_require
21+
] + tests_requires
2122

2223
setup(
2324
name="Flask-GraphQL",
@@ -50,9 +51,9 @@
5051
install_requires=install_requires,
5152
tests_require=tests_requires,
5253
extras_require={
53-
'test': tests_require,
54+
'test': tests_requires,
5455
'dev': dev_requires,
55-
}
56+
},
5657
include_package_data=True,
5758
zip_safe=False,
5859
platforms="any",

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
py{27,35,36,37}
4-
flake8,import-order,pypy
4+
flake8,import-order
55
requires = tox-conda
66

77
[testenv]
@@ -21,7 +21,6 @@ commands =
2121

2222
[testenv:import-order]
2323
basepython=python3.6
24-
deps =
25-
isort
24+
deps = -e.[dev]
2625
commands =
2726
isort --check-only flask_graphql/ -rc

0 commit comments

Comments
 (0)