Skip to content

Commit

Permalink
Add pyright settings
Browse files Browse the repository at this point in the history
This will also turn on pyright/pylance for vscode users by default
  • Loading branch information
JHolba committed Sep 19, 2024
1 parent 27c4530 commit 6c602be
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,16 @@ allowed-confusables = ["–"]

[tool.ruff.lint.pylint]
max-args = 20

[tool.pyright]
include = ["src"]
exclude = ["tests"]
reportMissingImports = "error"
typeCheckingMode = "standard"
pythonVersion = "3.8"

[tool.pyright.defineConstant]
PYSIDE6 = false
PYQT5 = true
PYSIDE2 = false
PYQT6 = false

0 comments on commit 6c602be

Please sign in to comment.