[CI] Disable non-lazy string operation on logging (#4326)

Co-authored-by: Danny Guinther <dguinther@neuralmagic.com>
This commit is contained in:
SangBin ChoandDanny Guinther authored and GitHub committed 2024-04-26 00:16:58 -07:00
1 parent 2f30e7c72f
commit a88081bf76
31 files changed
+176 -149

No files matched your search

+3 -2
View File
@@ -98,9 +98,10 @@ autodoc_mock_imports = [
for mock_target in autodoc_mock_imports:
if mock_target in sys.modules:
logger.info(
f"Potentially problematic mock target ({mock_target}) found; "
"Potentially problematic mock target (%s) found; "
"autodoc_mock_imports cannot mock modules that have already "
"been loaded into sys.modules when the sphinx build starts.")
"been loaded into sys.modules when the sphinx build starts.",
mock_target)
class MockedClassDocumenter(autodoc.ClassDocumenter):