Merge pull request #3613 from hugovk/fix-flake8

Fix Flake8
This commit is contained in:
Hugo 2019-01-27 14:10:32 +02:00 committed by GitHub
commit dd9ae6cd45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,6 +258,7 @@ copy /Y /B %%LCMS%%\Lib\MS\*.lib %%INCLIB%%
endlocal
""" % compiler # noqa: E501
def build_ghostscript(compiler, bit):
script = r"""
rem Build gs
@ -266,7 +267,7 @@ setlocal
set MSVC_VERSION=""" + {
"2008": "9",
"2015": "14"
}[compiler['vc_version']] + r"""
}[compiler['vc_version']] + r"""
set RCOMP="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\RC.Exe"
cd /D %%GHOSTSCRIPT%%
"""
@ -281,6 +282,7 @@ endlocal
"""
return script % compiler # noqa: E501
def add_compiler(compiler, bit):
script.append(setup_compiler(compiler))
script.append(nmake_libs(compiler, bit))