Skip to content

Commit 0923520

Browse files
committed
Add pyright to lint
1 parent 4585665 commit 0923520

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

pyrightconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"stubPath": "mock_renpy"
3+
}

requirements/lint.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pyright
2+
ruff

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ deps = -r requirements/tests.txt
1616
commands =
1717
py.test -s -vv --cov-report lcov --cov=encyclopaedia tests
1818

19-
# Code style
2019
[testenv:lint]
2120
basepython=py39
2221
skip_install = true
23-
deps = ruff
22+
deps = -r requirements/lint.txt
2423
changedir = .
25-
commands = ruff check encyclopaedia scripts tests
24+
commands =
25+
ruff check encyclopaedia scripts tests
26+
pyright encyclopaedia
27+
2628

2729
# Build local copy of docs
2830
[testenv:build_docs_html]

0 commit comments

Comments
 (0)