Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ jobs:
- uses: actions/checkout@v5
- uses: astral-sh/ruff-action@v3

pyright:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v7
with:
activate-environment: true
python-version: "3.10"
enable-cache: true
- name: Test Pyright
run: |
uvx pyright
- name: Minimize uv cache
run: uv cache prune --ci

link-check:
runs-on: ubuntu-latest
steps:
Expand Down
18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,21 @@ include = ["pyproject.toml", "README.rst", "LICENSE", "datasketch/**"]
minversion = "6.0"
addopts = ["--strict-markers", "--color=yes"]
testpaths = ["test"]

[tool.pyright]
include = ["datasketch"]
exclude = [
"benchmark",
"docs",
"examples",
"test",
"travis",
"**/.venv/**",
"**/__pycache__",
]
pythonVersion = "3.9"
typeCheckingMode = "basic" # todo: change to "strict" in future

reportMissingImports = true
reportUnusedVariable = "warning"

Loading