projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Black stable to format python code
[babeltrace.git]
/
tests
/
utils
/
python
/
tap
/
main.py
diff --git
a/tests/utils/python/tap/main.py
b/tests/utils/python/tap/main.py
index 784b6466df55ab5fc86c16d0628ad7180e3d3eef..04937f5c6223c7218d345747376be5671d9498c1 100644
(file)
--- a/
tests/utils/python/tap/main.py
+++ b/
tests/utils/python/tap/main.py
@@
-34,15
+34,26
@@
def parse_args(argv):
description = _('A TAP consumer for Python')
epilog = _(
'When no files are given or a dash (-) is used for the file name, '
description = _('A TAP consumer for Python')
epilog = _(
'When no files are given or a dash (-) is used for the file name, '
- 'tappy will read a TAP stream from STDIN.')
+ 'tappy will read a TAP stream from STDIN.'
+ )
parser = argparse.ArgumentParser(description=description, epilog=epilog)
parser.add_argument(
parser = argparse.ArgumentParser(description=description, epilog=epilog)
parser.add_argument(
- 'files', metavar='FILE', nargs='*', help=_(
+ 'files',
+ metavar='FILE',
+ nargs='*',
+ help=_(
'A file containing TAP output. Any directories listed will be '
'A file containing TAP output. Any directories listed will be '
- 'scanned for files to include as TAP files.'))
+ 'scanned for files to include as TAP files.'
+ ),
+ )
parser.add_argument(
parser.add_argument(
- '-v', '--verbose', action='store_const', default=1, const=2,
- help=_('use verbose messages'))
+ '-v',
+ '--verbose',
+ action='store_const',
+ default=1,
+ const=2,
+ help=_('use verbose messages'),
+ )
# argparse expects the executable to be removed from argv.
args = parser.parse_args(argv[1:])
# argparse expects the executable to be removed from argv.
args = parser.parse_args(argv[1:])
This page took
0.023297 seconds
and
4
git commands to generate.