Enable pylint import-outside-toplevel (#33631)
This commit is contained in:
1 parent
9dfcae3dc2
commit
b9b1cee403
23 files changed
+47
-23
No files matched your search
@@ -215,6 +215,7 @@ def async_enable_logging(
|
||||
|
||||
if not log_no_color:
|
||||
try:
|
||||
# pylint: disable=import-outside-toplevel
|
||||
from colorlog import ColoredFormatter
|
||||
|
||||
# basicConfig must be called after importing colorlog in order to
|
||||
|
||||
Reference in new issue
Block a user