Skip to content

Commit 1555e1d

Browse files
committed
#152 Use Pyright installed from PyPI
1 parent 89fe963 commit 1555e1d

File tree

5 files changed

+2
-52
lines changed

5 files changed

+2
-52
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"settings": {
1616
"files.insertFinalNewline": true,
1717
"files.trimTrailingWhitespace": true,
18-
"python.analysis.typeCheckingMode": "strict",
1918
"python.formatting.provider": "black",
2019
"python.languageServer": "Pylance",
2120
"[python]": {

.github/workflows/tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,12 @@ jobs:
2222
- uses: actions/setup-python@v2
2323
with:
2424
python-version: ${{ matrix.python }}
25-
- uses: actions/setup-node@v2
26-
with:
27-
node-version: "lts/gallium"
2825
- name: Install project dependencies
29-
run: pip install poetry && poetry install && npm install
26+
run: pip install poetry && poetry install
3027
- name: Test code's formatting (Black)
3128
run: black --check docs tests xarray_dataclasses
3229
- name: Test code's typing (Pyright)
33-
run: npx pyright docs tests xarray_dataclasses
30+
run: pyright docs tests xarray_dataclasses
3431
- name: Test code's execution (pytest)
3532
run: pytest -v tests
3633
- name: Test docs' building (Sphinx)

package-lock.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

pyrightconfig.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)