forked from pool/python-screenplain
- 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:
19
fix_entry_point.patch
Normal file
19
fix_entry_point.patch
Normal 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
|
Reference in New Issue
Block a user