mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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:
parent
9b00c50be8
commit
0bbb052b42
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue