14
0

- Add fix_entry_point.patch

- We don't need any stinking pytest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-screenplain?expand=0&rev=6
This commit is contained in:
2020-12-03 23:11:07 +00:00
committed by Git OBS Bridge
parent 7f9aa7ebc9
commit fa7bf2df4f
3 changed files with 27 additions and 4 deletions

19
fix_entry_point.patch Normal file
View File

@@ -0,0 +1,19 @@
--- a/screenplain/main.py
+++ b/screenplain/main.py
@@ -30,7 +30,7 @@ def invalid_format(parser, message):
)
-def main(args):
+def main(args=sys.argv[1:]):
parser = OptionParser(usage=usage)
parser.add_option(
'-f', '--format', dest='output_format',
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[metadata]
license_files = LICENSE.txt
+
+[pycodestyle]
+ignore = E402,W504