Skip to content

Commit

Permalink
Docs: hide warnings when building docs in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofachada committed Sep 1, 2023
1 parent b18d7f3 commit 93dec5e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/docs/examples/plot_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# %%
# ## Import the required libraries

import os
import warnings

import matplotlib.pyplot as plt # type: ignore
import numpy as np
import numpy.typing as npt
Expand All @@ -14,6 +17,10 @@

from pyclugen import Clusters

# Hide annoying warnings when building docs in CI
if os.getenv("CI") != None:
warnings.filterwarnings("ignore")

# %%
# ## clusters2df

Expand Down

0 comments on commit 93dec5e

Please sign in to comment.