mirror of
https://github.com/catchorg/Catch2.git
synced 2026-05-05 20:24:16 +02:00
Minor fixes to python scripts by pycodestyle
This commit is contained in:
committed by
Martin Hořeňovský
parent
64be2ad96c
commit
9e7c281e6e
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user