mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
PyLint fix
This commit is contained in:
@ -264,7 +264,7 @@ def ProcessUnFlags(env, flags):
|
|||||||
env[key].remove(current)
|
env[key].remove(current)
|
||||||
|
|
||||||
|
|
||||||
def StringifyMacro(env, value):
|
def StringifyMacro(env, value): # pylint: disable=unused-argument
|
||||||
return '\\"%s\\"' % value.replace('"', '\\\\\\"')
|
return '\\"%s\\"' % value.replace('"', '\\\\\\"')
|
||||||
|
|
||||||
|
|
||||||
|
@ -299,4 +299,4 @@ projenv.Append(CPPDEFINES=[
|
|||||||
assert "MACRO_1=<Hello World!>" in result.output
|
assert "MACRO_1=<Hello World!>" in result.output
|
||||||
assert 'MACRO_2=<Text is "Quoted">' 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_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
|
||||||
|
Reference in New Issue
Block a user