From 308553cb28bb7af00f4b688d0d19daced46f9800 Mon Sep 17 00:00:00 2001 From: Damian Shaw Date: Tue, 30 Jul 2024 14:03:33 -0400 Subject: [PATCH] Migrate mypy.ini to pyproject.toml --- mypy.ini | 8 -------- pyproject.toml | 10 ++++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 mypy.ini diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index db6380e1..00000000 --- a/mypy.ini +++ /dev/null @@ -1,8 +0,0 @@ -[mypy] -warn_unused_configs = true - -[mypy-html5lib] -ignore_missing_imports = true - -[mypy-packaging.*] -ignore_missing_imports = true diff --git a/pyproject.toml b/pyproject.toml index 6cf206d2..fd392b05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,3 +106,13 @@ exclude = [ "dist", "*.pyi" ] + +[tool.mypy] +warn_unused_configs = true + +[[tool.mypy.overrides]] +module = [ + "html5lib", + "packaging.*" +] +ignore_missing_imports = true