We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 162cfcb commit 5e39179Copy full SHA for 5e39179
setup.cfg
@@ -7,7 +7,7 @@ description-file = README.md
7
8
[tool:pytest]
9
DJANGO_SETTINGS_MODULE=tests.django_settings
10
-addopts= --doctest-modules --flake8 --nomigrations
+addopts= --doctest-modules --nomigrations
11
testpaths = django_admin_json_editor tests
12
13
flake8-max-complexity = 10
setup.py
@@ -25,12 +25,13 @@
25
'Django',
26
]
27
28
+setup_requires = [
29
+ 'pytest-runner',
30
+]
31
+
32
test_requirements = [
33
'pytest',
34
'pytest-django',
- 'pytest-runner',
- 'pytest-flake8',
- 'flake8-isort',
35
36
37
setup(
@@ -60,5 +61,6 @@
60
61
],
62
install_requires=requirements,
63
test_suite='tests',
64
+ setup_requires=setup_requires,
65
tests_require=test_requirements,
66
)
0 commit comments