38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From: Michael Fladischer <FladischerMichael@fladi.at>
|
|
Date: Tue, 10 Jul 2018 10:05:00 +0200
|
|
Subject: Do not use pytest-isort and pytest-flake8 in tests,
|
|
not packaged yet.
|
|
|
|
---
|
|
setup.cfg | 2 +-
|
|
setup.py | 4 ++--
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/setup.cfg b/setup.cfg
|
|
index ae602ff..a6452e5 100644
|
|
--- a/setup.cfg
|
|
+++ b/setup.cfg
|
|
@@ -5,7 +5,7 @@ test = pytest
|
|
universal = 1
|
|
|
|
[tool:pytest]
|
|
-addopts = --cov=tinycss2 --flake8 --isort tinycss2/test.py
|
|
+addopts = --cov=tinycss2 tinycss2/test.py
|
|
norecursedirs = dist .cache .git build *.egg-info .eggs venv
|
|
|
|
[egg_info]
|
|
diff --git a/setup.py b/setup.py
|
|
index ee27778..628b571 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -49,7 +49,7 @@ setup(
|
|
setup_requires=pytest_runner,
|
|
test_suite='tinycss2.test',
|
|
tests_require=[
|
|
- 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort'],
|
|
+ 'pytest-runner', 'pytest-cov'],
|
|
extras_require={'test': [
|
|
- 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort']},
|
|
+ 'pytest-runner', 'pytest-cov']},
|
|
)
|