refactor: disable pylint output log to console.
This commit is contained in:
parent
03f05ced27
commit
18c0be36a6
@ -393,7 +393,7 @@ class ToolSerializer(serializers.Serializer):
|
||||
file_name = get_file_name()
|
||||
with open(file_name, 'w') as file:
|
||||
file.write(code)
|
||||
reporter = JSON2Reporter()
|
||||
reporter = JSON2Reporter(output=io.StringIO())
|
||||
Run([file_name,
|
||||
"--disable=line-too-long",
|
||||
'--module-rgx=[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user