14
0
Files
python-screenplain/fix_entry_point.patch
2023-11-29 14:57:40 +00:00

29 lines
568 B
Diff

---
screenplain/main.py | 2 +-
setup.cfg | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
--- a/screenplain/main.py
+++ b/screenplain/main.py
@@ -29,7 +29,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,6 +1,9 @@
[metadata]
license_files = LICENSE.txt
+[pycodestyle]
+ignore = E275,E402,W504
+
[egg_info]
tag_build =
tag_date = 0