packages/lang/python/python-twisted/patches/002-omit-tests.patch
Jeffery To 60bafa0774 python-twisted: Update to 21.7.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4fa4cd832208e59ada0cb8cba9c99afe9467231a)
2022-03-06 03:22:20 +08:00

21 lines
283 B
Diff

--- a/setup.cfg
+++ b/setup.cfg
@@ -97,6 +97,9 @@ mypy =
[options.packages.find]
where = src
+exclude =
+ *.test
+ *.test.*
[options.entry_points]
console_scripts =
@@ -116,6 +119,7 @@ console_scripts =
*.pxi
*.pyx
build.bat
+ test/*
[flake8]
disable-noqa = True