From 67a062363741e4f664ce7b9e6889aedde368e370 Mon Sep 17 00:00:00 2001 From: PrettyWood Date: Mon, 7 Jun 2021 10:44:36 +0200 Subject: [PATCH] fix(ci): ignore DeprecationWarning raised by `mypy` on windows --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index b79fa54f2b2..242c5a07123 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,6 +5,8 @@ filterwarnings = error ignore::DeprecationWarning:distutils ignore::DeprecationWarning:Cython + # needed for python 3.10+ while some libs used by pydantic (like mypy on windows) still rely on distutils + ignore:The distutils package is deprecated and slated for removal in Python 3.12:DeprecationWarning [flake8] max-line-length = 120