From 0bbb052b42177516d8cfcefbc6153e81c96ff419 Mon Sep 17 00:00:00 2001 From: David Culley <6276049+davidculley@users.noreply.github.com> Date: Sat, 17 Aug 2024 08:10:02 +0200 Subject: [PATCH] chore: add initial configuration for `pyright` (#3361) If you don't use Visual Studio Code as your text editor, and therefore can't use the Pylance extension, but nonetheless use `pyright` as a CLI application. --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 56f5c4aeb..d88101a1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,8 @@ [tool.black] target-version = ["py39", "py310", "py311", "py312"] extend-exclude = "qt/bundle" + +[tool.pyright] +include = ["pylib/anki", "qt/aqt"] +stubPath = "" +pythonVersion = "3.9"