diff --git a/pyproject.toml b/pyproject.toml index 2457c1fa4..e9a3206e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,12 @@ testpaths = [ "tests" ] doctest_optionflags = "NUMBER NORMALIZE_WHITESPACE" +filterwarnings = [ + # "import jax" implies "import flatbuffers", which raises the following warning. + # Ignore similar to https://github.com/google/jax/blob/main/pytest.ini + "ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning:flatbuffers.*" +] + # Configuration of the black code style checker # For more information about Black's usage of this file, see