forked from platformio/platformio-core
Refactor PyLint "inconsistent-return-statements"
This commit is contained in:
1 parent
bff590e207
commit
42fb589369
14 files changed
+48
-24
No files matched your search
@@ -672,7 +672,7 @@ class PlatformBoardConfig(object):
|
||||
|
||||
def get_debug_data(self):
|
||||
if not self._manifest.get("debug", {}).get("tools"):
|
||||
return
|
||||
return None
|
||||
tools = {}
|
||||
for name, options in self._manifest['debug']['tools'].items():
|
||||
tools[name] = {}
|
||||
|
||||
Reference in new issue
Block a user