Disable PyLint's "import-outside-toplevel"

This commit is contained in:
Ivan Kravets committed 2019-10-18 15:41:52 +03:00
1 parent f5807364e8
commit 065607b68c
12 files changed
+21 -23

No files matched your search

+1 -1
View File
@@ -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"
+1
View File
@@ -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