Skip to content

Commit

Permalink
FEATURE: Add pyright support
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Nov 28, 2024
1 parent 140bf5a commit 7bba8a9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ repos:
"--rcfile=.pylintrc", # Link to your config file
]
stages: [pre-push]

# - repo: https://github.com/RobertCraigie/pyright-python
# rev: v1.1.389
# hooks:
# - id: pyright
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ dev = [
"mock",
"pyinstaller",
"mypy",
"pyright",
"github",
]

Expand Down Expand Up @@ -208,4 +209,10 @@ strict_equality = true
warn_unused_configs = true

files = ["ardupilot_methodic_configurator/*.py"]
exclude = ["unittests"]
exclude = ["unittests"]

[tool.pyright]
exclude = [".venv"]
pythonVersion = "3.9"
venvPath = "."
venv = ".venv"

0 comments on commit 7bba8a9

Please sign in to comment.