nixpkgs/pkgs/development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch

23 lines
547 B
Diff
Raw Normal View History

diff -r ad8325924f04 pytest.ini
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pytest.ini Fri Sep 30 12:28:39 2016 +0200
@@ -0,0 +1,4 @@
+[pytest]
+-norecursedirs = .git .* *.egg* old docs dist build
+-addopts = -rwv
+
diff -r ad8325924f04 setup.cfg
--- a/setup.cfg Fri Sep 30 09:22:39 2016 +0200
+++ b/setup.cfg Fri Sep 30 12:28:39 2016 +0200
@@ -12,10 +12,6 @@
pycodestyle >= 2.0.0, < 2.1.0
mccabe >= 0.5.0, < 0.6.0
-[pytest]
-norecursedirs = .git .* *.egg* old docs dist build
-addopts = -rw
-
[egg_info]
tag_build =
tag_date = 0