Merge branch 'bugfix/gh_action_pass_IDF_PATH_to_pylint' into 'master'

gh_action: fix python lint

Closes IDF-1538 and IDFGH-3341

See merge request espressif/esp-idf!8812
This commit is contained in:
Anton Maklakov
2020-05-21 10:15:35 +08:00
10 changed files with 34 additions and 18 deletions
+7 -4
View File
@@ -6,10 +6,13 @@
# Importing conf_common adds all the non-language-specific
# parts to this conf module
import sys
import os
sys.path.insert(0, os.path.abspath('..'))
from conf_common import * # noqa: F401, F403 - need to make available everything from common
try:
from conf_common import * # noqa: F403
except ImportError:
import sys
import os
sys.path.insert(0, os.path.abspath('..'))
from conf_common import * # noqa: F403
# General information about the project.
project = u'ESP-IDF Programming Guide'