From 3519cc1a75f9e12de8e6205334de179b3dcdd9be Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 26 Apr 2016 22:54:39 +0300 Subject: [PATCH] PyLint fix --- platformio/builder/tools/piomisc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformio/builder/tools/piomisc.py b/platformio/builder/tools/piomisc.py index 168c5c25..cb12d421 100644 --- a/platformio/builder/tools/piomisc.py +++ b/platformio/builder/tools/piomisc.py @@ -53,7 +53,8 @@ class InoToCPPConverter(object): prototypes.append((file_path, match.start(), match.group(1))) return prototypes - def append_prototypes(self, contents, prototypes): + @staticmethod + def append_prototypes(contents, prototypes): result = [] if not prototypes: return result