openwrt-packages/lang/python/python-twisted/patches/002-omit-tests.patch

21 lines
285 B
Diff

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