Skip to content

Commit

Permalink
ignore warnings related to awssagemaker import
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy committed Dec 6, 2023
1 parent aff1150 commit 741c790
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,14 @@ def __init__(self, app: sphinx.application.Sphinx) -> None:
def filter(self, record: logging.LogRecord) -> bool:
msg = record.getMessage()

# TODO: These are all warnings that should be fixed as follow-ups to the
# monodocs build project.
filter_out = (
"duplicate label",
"Unexpected indentation",
'Error with CSV data in "csv-table" directive',
"Definition list ends without a blank line",
"autodoc: failed to import module 'awssagemaker' from module 'flytekitplugins'",
)

if msg.strip().startswith(filter_out):
Expand Down

0 comments on commit 741c790

Please sign in to comment.