From b1c9b88de17298d55393110f8c5c1fc351453477 Mon Sep 17 00:00:00 2001 From: Ray Lyon Date: Sun, 21 Dec 2025 19:38:30 -0500 Subject: [PATCH] Add pyright config and django-stubs for type checking --- apps/__init__.py | 0 pyrightconfig.json | 6 ++++++ requirements.txt | 1 + 3 files changed, 7 insertions(+) create mode 100644 apps/__init__.py create mode 100644 pyrightconfig.json diff --git a/apps/__init__.py b/apps/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 0000000..41b45fb --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,6 @@ +{ + "include": ["apps", "django_movies"], + "extraPaths": ["."], + "pythonVersion": "3.14", + "typeCheckingMode": "basic", +} diff --git a/requirements.txt b/requirements.txt index 6683ee5..fdca35c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ django==6.0 +django-stubs==5.2.8