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.
This commit is contained in:
David Culley 2024-08-17 08:10:02 +02:00 committed by GitHub
parent 9b00c50be8
commit 0bbb052b42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"