Skip to content

Commit f241676

Browse files
committed
Fix linting commands in tox.ini to specify example paths
Signed-off-by: Tsuyoshi Hombashi <[email protected]>
1 parent 95d53b7 commit f241676

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ commands =
8989
ruff check
9090

9191
[testenv:lint-examples]
92-
changedir = examples
9392
deps =
9493
jupyter
9594
mypy>=1
@@ -98,10 +97,10 @@ deps =
9897
types-click
9998
ruff>=0.8
10099
commands =
101-
jupyter nbconvert pathvalidate_examples.ipynb --to python
102-
pyright
103-
ruff check
104-
ruff format --check
100+
jupyter nbconvert examples/pathvalidate_examples.ipynb --to python
101+
pyright examples
102+
ruff check examples
103+
ruff format --check examples
105104

106105
[testenv:readme]
107106
changedir = docs

0 commit comments

Comments
 (0)