mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Fix PyLint warning
This commit is contained in:
@ -436,7 +436,8 @@ class BasePlatform(object):
|
|||||||
|
|
||||||
click.secho(line, fg=fg, err=level < 3)
|
click.secho(line, fg=fg, err=level < 3)
|
||||||
|
|
||||||
def get_job_nums(self):
|
@staticmethod
|
||||||
|
def get_job_nums():
|
||||||
try:
|
try:
|
||||||
return cpu_count()
|
return cpu_count()
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
|
Reference in New Issue
Block a user