PyLint fix

This commit is contained in:
Ivan Kravets
2022-06-17 13:58:26 +03:00
parent ca3b3717d3
commit 5afa0a955e
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ def ProcessUnFlags(env, flags):
env[key].remove(current)
def StringifyMacro(env, value):
def StringifyMacro(env, value): # pylint: disable=unused-argument
return '\\"%s\\"' % value.replace('"', '\\\\\\"')

View File

@ -299,4 +299,4 @@ projenv.Append(CPPDEFINES=[
assert "MACRO_1=<Hello World!>" in result.output
assert 'MACRO_2=<Text is "Quoted">' in result.output
assert 'MACRO_3=<Hello "World"! Isn\'t true?>' in result.output
assert 'MACRO_4=<Special chars: \',(,),[,],:>' in result.output
assert "MACRO_4=<Special chars: ',(,),[,],:>" in result.output