forked from platformio/platformio-core
Disable PyLint's "import-outside-toplevel"
This commit is contained in:
1 parent
f5807364e8
commit
065607b68c
12 files changed
+21
-23
No files matched your search
@@ -72,7 +72,7 @@ class ProjectConfigBase(object):
|
||||
|
||||
@staticmethod
|
||||
def get_default_path():
|
||||
from platformio import app
|
||||
from platformio import app # pylint: disable=import-outside-toplevel
|
||||
|
||||
return app.get_session_var("custom_project_conf") or os.path.join(
|
||||
os.getcwd(), "platformio.ini"
|
||||
|
||||
@@ -136,6 +136,7 @@ def compute_project_checksum(config):
|
||||
|
||||
|
||||
def load_project_ide_data(project_dir, env_or_envs):
|
||||
# pylint: disable=import-outside-toplevel
|
||||
from platformio.commands.run import cli as cmd_run
|
||||
|
||||
assert env_or_envs
|
||||
|
||||
Reference in new issue
Block a user