File: 0001-Do-not-use-pytest-isort-and-pytest-flake8-in-tests-n.patch

package info (click to toggle)
python-tinycss2 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 608 kB
  • sloc: python: 1,719; makefile: 19
file content (37 lines) | stat: -rw-r--r-- 1,077 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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']},
 )