forked from pool/python-screenplain
- Add E275 to the list of ignored errors in pycodestyle to fix build OBS-URL: https://build.opensuse.org/request/show/1007832 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-screenplain?expand=0&rev=8
20 lines
409 B
Diff
20 lines
409 B
Diff
--- 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 = E275,E402,W504
|