mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Remove test code and fix PyLint warning
This commit is contained in:
@ -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.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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")) +
|
||||||
|
Reference in New Issue
Block a user