From 09f006f4c085f471b3875a58a11037ed21cb92aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Vinot?= Date: Thu, 8 Feb 2024 10:35:03 +0100 Subject: [PATCH] Update tests configuration --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d31d6623..6a1fab6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,7 @@ lint.flake8-pytest-style.parametrize-values-type = "tuple" lint.mccabe.max-complexity = 15 [tool.ruff.lint.per-file-ignores] -"*.ipynb" = ["E402", "F403", "F405", "B018"] +"*.ipynb" = ["E402", "F403", "F405"] [tool.coverage.run] branch = true @@ -137,5 +137,5 @@ addopts = "--color=yes -n=0 --import-mode=importlib" testpaths = ["roseau/load_flow/"] filterwarnings = [ 'ignore:.*utcfromtimestamp:DeprecationWarning:dateutil.*', # dateutil is imported by pandas, not us - 'ignore:Pyarrow will become a required dependency of pandas:DeprecationWarning:.*', + 'ignore:(?s).*Pyarrow will become a required dependency of pandas:DeprecationWarning:.*', ]