mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-28 23:49:28 +00:00
Minor fixes to python scripts by pycodestyle
This commit is contained in:
parent
64be2ad96c
commit
9e7c281e6e
9 changed files with 35 additions and 33 deletions
|
@ -12,7 +12,6 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
from scriptCommon import catchPath
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
|
@ -20,6 +19,8 @@ import os
|
|||
import re
|
||||
import sys
|
||||
|
||||
from scriptCommon import catchPath
|
||||
|
||||
# Configuration:
|
||||
|
||||
minTocEntries = 4
|
||||
|
@ -431,7 +432,7 @@ def updateDocumentToCMain():
|
|||
|
||||
args = parser.parse_args()
|
||||
|
||||
paths = args.Input if len(args.Input) > 0 else [documentsDefault]
|
||||
paths = args.Input if args.Input else [documentsDefault]
|
||||
|
||||
changedFiles = updateDocumentToC(paths=paths, min_toc_len=args.minTocEntries, verbose=args.verbose)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue