From 68732e6744518d45a60229908fb9efdecc5aafa8 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 27 Aug 2024 20:00:48 -0400 Subject: [PATCH] Update method of excluding docs directory and remove __init__.py file. --- docs/__init__.py | 0 mypy.ini | 4 +--- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 docs/__init__.py diff --git a/docs/__init__.py b/docs/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/mypy.ini b/mypy.ini index 75784074..8583d6df 100644 --- a/mypy.ini +++ b/mypy.ini @@ -14,6 +14,7 @@ strict = True warn_return_any = False # TODO: Remove this exception in the future disable_error_code = var-annotated +exclude = docs [mypy.plugins.django-stubs] django_settings_module = "tests.test_settings.settings_5_0" @@ -21,6 +22,3 @@ django_settings_module = "tests.test_settings.settings_5_0" # TODO: Type check tests in the future [mypy-tests.*] ignore_errors = True - -[mypy-docs.*] -ignore_errors = True