"""Linting and return score as system code"""

from os import system
from pylint.lint import Run

results = Run(["leaf"], do_exit=False)
score = round(results.linter.stats["global_note"], 2)
system('echo "::set-output name=score::' + str(score) + '"')

64602e0619979a62603283cf6937f5bc7f7a7158
<mask token>

<mask token>
system('echo "::set-output name=score::' + str(score) + '"')

<mask token>
results = Run(['leaf'], do_exit=False)
score = round(results.linter.stats['global_note'], 2)
system('echo "::set-output name=score::' + str(score) + '"')

<mask token>
from os import system
from pylint.lint import Run
results = Run(['leaf'], do_exit=False)
score = round(results.linter.stats['global_note'], 2)
system('echo "::set-output name=score::' + str(score) + '"')

"""Linting and return score as system code"""

from os import system
from pylint.lint import Run

results = Run(["leaf"], do_exit=False)
score = round(results.linter.stats["global_note"], 2)
system('echo "::set-output name=score::' + str(score) + '"')
