summaryrefslogtreecommitdiffstats
path: root/test/TEX
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-12-22 15:44:29 (GMT)
committerMats Wichmann <mats@linux.com>2019-12-23 16:52:35 (GMT)
commita5359e3f10a6bcdb5d9667c95c40ddd890b551e8 (patch)
treedd587ca78a6d4542c6bd968e4590b6671464d39d /test/TEX
parent5a864bae1380155997f4041d607e4abcf74652ca (diff)
downloadSCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.zip
SCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.tar.gz
SCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.tar.bz2
syntax fixups suggested by PyCharm
Drop unneeded parens. Drop trailing semicolons. Triple double-quote docstrings. Regexes drop unneeded escapes. Spaces around parens, braces: remove/add. Some one-tuples get their missing closing comma. A couple of sets use set init syntax {foo} instead of set([iter]) now. And a fiddle in Node to reduce lookup time on md5 signature functions (came about because of a line-too-long issue, initially) Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/TEX')
-rw-r--r--test/TEX/LATEX.py2
-rw-r--r--test/TEX/LATEX2.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/TEX/LATEX.py b/test/TEX/LATEX.py
index dabe8b1..85cc7d8 100644
--- a/test/TEX/LATEX.py
+++ b/test/TEX/LATEX.py
@@ -168,7 +168,7 @@ This is the include file. mod %s
test.write('makeindex.idx', '')
test.subdir('subdir')
- test.write('latexi.tex', latex1 % 'latexi.tex');
+ test.write('latexi.tex', latex1 % 'latexi.tex')
test.write([ 'subdir', 'latexinputfile'], latex2)
test.write([ 'subdir', 'latexincludefile.tex'], latex3 % '1')
diff --git a/test/TEX/LATEX2.py b/test/TEX/LATEX2.py
index a3ac125..1628bb9 100644
--- a/test/TEX/LATEX2.py
+++ b/test/TEX/LATEX2.py
@@ -95,7 +95,7 @@ This is the include file. mod %s
test.write('makeindex.idx', '')
test.subdir('subdir')
- test.write('latexi.tex', latex1 % 'latexi.tex');
+ test.write('latexi.tex', latex1 % 'latexi.tex')
test.write([ 'subdir', 'latexinputfile'], latex2)
test.write([ 'subdir', 'latexincludefile.tex'], latex3 % '1')