tools: fix python lint

This commit is contained in:
morris
2020-06-24 10:47:15 +08:00
parent e37cb829f4
commit b53c59b7a4
5 changed files with 23 additions and 15 deletions

View File

@@ -6,15 +6,18 @@
# 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
from local_util import download_file_if_missing # noqa: E402 - need to import from common folder
try:
from conf_common import * # noqa: F403,F401
except ImportError:
import sys
import os
sys.path.insert(0, os.path.abspath('..'))
from conf_common import * # noqa: F403,F401
from local_util import download_file_if_missing # noqa: E402 - need to import from common folder
# General information about the project.
project = u'ESP-IDF Programming Guide'
copyright = u'2016 - 2019, Espressif Systems (Shanghai) CO., LTD'
copyright = u'2016 - 2020, Espressif Systems (Shanghai) CO., LTD'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.