forked from platformio/platformio-core
Fix PyLint warnings
This commit is contained in:
@ -40,17 +40,20 @@ class ProjectGenerator(object):
|
|||||||
def get_project_name(self):
|
def get_project_name(self):
|
||||||
return basename(self.project_dir)
|
return basename(self.project_dir)
|
||||||
|
|
||||||
def get_includes(self):
|
@staticmethod
|
||||||
|
def get_includes():
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def get_srcfiles(self):
|
@staticmethod
|
||||||
|
def get_srcfiles():
|
||||||
result = []
|
result = []
|
||||||
for root, _, files in walk(util.get_projectsrc_dir()):
|
for root, _, files in walk(util.get_projectsrc_dir()):
|
||||||
for f in files:
|
for f in files:
|
||||||
result.append(join(root, f))
|
result.append(join(root, f))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def get_defines(self):
|
@staticmethod
|
||||||
|
def get_defines():
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def get_tpls(self):
|
def get_tpls(self):
|
||||||
|
Reference in New Issue
Block a user