8000 Add help texts for tests.py arguments · matplotlib/matplotlib@dcb84d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit dcb84d2

Browse files
committed
Add help texts for tests.py arguments
1 parent 5706876 commit dcb84d2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@
1919
extra_args = []
2020

2121
parser = argparse.ArgumentParser()
22-
parser.add_argument('--no-pep8', action="store_true")
23-
parser.add_argument('--pep8', action="store_true")
24-
parser.add_argument('--no-network', action="store_true")
25-
parser.add_argument('-j', type=int)
22+
parser.add_argument('--no-pep8', action='store_true',
23+
help='Run all tests except PEP8 testing')
24+
parser.add_argument('--pep8', action='store_true',
25+
help='Run only PEP8 testing')
26+
parser.add_argument('--no-network', action='store_true',
27+
help='Run tests without network connection')
28+
parser.add_argument('-j', type=int,
29+
help='Shortcut for specifying number of test processes')
2630
args = parser.parse_args()
2731

2832
if args.no_pep8:

0 commit comments

Comments
 (0)
0