From 8a55e6538872b149154f1b356c6860f31ac9a614 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sun, 24 Jan 2016 17:19:59 +0200 Subject: [PATCH] Remove test code and fix PyLint warning --- docs/ide/atom.rst | 5 ++++- platformio/__init__.py | 2 +- platformio/app.py | 3 --- platformio/builder/tools/piomisc.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/ide/atom.rst b/docs/ide/atom.rst index 8b2b1cd0..9ab24d85 100644 --- a/docs/ide/atom.rst +++ b/docs/ide/atom.rst @@ -30,7 +30,7 @@ for IoT development: * Library Manager * Built-in Terminal -Atom is a text editor that's modern, approachable, +Atom is a source code editor that's modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file. @@ -62,6 +62,9 @@ Installation User Guide ---------- +`platformio-ide `_ package adds to Atom +new menu item named ``Menu: PlatformIO`` (after ``Menu: Help`` item). + Building / Uploading / etc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/platformio/__init__.py b/platformio/__init__.py index 6099e910..15d4120e 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -14,7 +14,7 @@ import sys -VERSION = (2, 8, "0.dev1") +VERSION = (2, 8, "0.dev2") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/app.py b/platformio/app.py index b7486f68..3a6ae6cb 100644 --- a/platformio/app.py +++ b/platformio/app.py @@ -186,7 +186,4 @@ def set_session_var(name, value): def is_disabled_progressbar(): - # tmp hook - if get_session_var("caller_id") == "atom": - return True return is_ci() or getenv("PLATFORMIO_DISABLE_PROGRESSBAR") == "true" diff --git a/platformio/builder/tools/piomisc.py b/platformio/builder/tools/piomisc.py index 2c141211..7c1a51a0 100644 --- a/platformio/builder/tools/piomisc.py +++ b/platformio/builder/tools/piomisc.py @@ -116,7 +116,7 @@ def ConvertInoToCpp(env): def delete_tmpcpp_file(file_): try: remove(file_) - except WindowsError: + except WindowsError: # pylint: disable=undefined-variable pass ino_nodes = (env.Glob(join("$PROJECTSRC_DIR", "*.ino")) +