From d4c88e9e4512fdda3198269038b536a89a28d8e6 Mon Sep 17 00:00:00 2001 From: morris Date: Thu, 21 May 2020 10:42:59 +0800 Subject: [PATCH] ci: add missing noqa:F401 --- docs/en/conf.py | 4 ++-- docs/zh_CN/conf.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/conf.py b/docs/en/conf.py index 7664598216..cb77736dd3 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -7,12 +7,12 @@ # Importing conf_common adds all the non-language-specific # parts to this conf module try: - from conf_common import * # noqa: F403 + 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 + from conf_common import * # noqa: F403,F401 # General information about the project. project = u'ESP-IDF Programming Guide' diff --git a/docs/zh_CN/conf.py b/docs/zh_CN/conf.py index e576e6303e..567585ffbd 100644 --- a/docs/zh_CN/conf.py +++ b/docs/zh_CN/conf.py @@ -7,12 +7,12 @@ # Importing conf_common adds all the non-language-specific # parts to this conf module try: - from conf_common import * # noqa: F403 + 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 + from conf_common import * # noqa: F403,F401 # General information about the project. project = u'ESP-IDF 编程指南'