Remove test code and fix PyLint warning

This commit is contained in:
Ivan Kravets
2016-01-24 17:19:59 +02:00
parent 0cecd955c5
commit 8a55e65388
4 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ for IoT development:
* Library Manager * Library Manager
* Built-in Terminal * 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 yet hackable to the core—a tool you can customize to do anything but also use
productively without ever touching a config file. productively without ever touching a config file.
@ -62,6 +62,9 @@ Installation
User Guide User Guide
---------- ----------
`platformio-ide <https://atom.io/packages/platformio-ide>`_ package adds to Atom
new menu item named ``Menu: PlatformIO`` (after ``Menu: Help`` item).
Building / Uploading / etc. Building / Uploading / etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -14,7 +14,7 @@
import sys import sys
VERSION = (2, 8, "0.dev1") VERSION = (2, 8, "0.dev2")
__version__ = ".".join([str(s) for s in VERSION]) __version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio" __title__ = "platformio"

View File

@ -186,7 +186,4 @@ def set_session_var(name, value):
def is_disabled_progressbar(): def is_disabled_progressbar():
# tmp hook
if get_session_var("caller_id") == "atom":
return True
return is_ci() or getenv("PLATFORMIO_DISABLE_PROGRESSBAR") == "true" return is_ci() or getenv("PLATFORMIO_DISABLE_PROGRESSBAR") == "true"

View File

@ -116,7 +116,7 @@ def ConvertInoToCpp(env):
def delete_tmpcpp_file(file_): def delete_tmpcpp_file(file_):
try: try:
remove(file_) remove(file_)
except WindowsError: except WindowsError: # pylint: disable=undefined-variable
pass pass
ino_nodes = (env.Glob(join("$PROJECTSRC_DIR", "*.ino")) + ino_nodes = (env.Glob(join("$PROJECTSRC_DIR", "*.ino")) +