Add type checking with pyright
Committed 8ee68b
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
with:
configuration: "--profile black"
+ - run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
+ - uses: jakebailey/pyright-action@v1
+
- name: Run tests
run: poetry run gmpg test
--- a/pyproject.toml
+++ b/pyproject.toml
# name = "main"
# url = "https://ragt.ag/code/pypi"
+[tool.pyright]
+reportGeneralTypeIssues = false
+reportOptionalMemberAccess = false
+
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"