From 72ebe0ec1bf63d52cbceeff9e11c31740c79e8d0 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 7 May 2015 18:40:53 +0100 Subject: [PATCH] Fix PyLint warnings --- platformio/ide/projectgenerator.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/platformio/ide/projectgenerator.py b/platformio/ide/projectgenerator.py index ebdaa2fb..3f09249c 100644 --- a/platformio/ide/projectgenerator.py +++ b/platformio/ide/projectgenerator.py @@ -40,17 +40,20 @@ class ProjectGenerator(object): def get_project_name(self): return basename(self.project_dir) - def get_includes(self): + @staticmethod + def get_includes(): return [] - def get_srcfiles(self): + @staticmethod + def get_srcfiles(): result = [] for root, _, files in walk(util.get_projectsrc_dir()): for f in files: result.append(join(root, f)) return result - def get_defines(self): + @staticmethod + def get_defines(): return [] def get_tpls(self):