Skip to content

Commit

Permalink
chore: exclude tests from basedpyright type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dest1n1s committed Nov 5, 2024
1 parent abeb3e5 commit fdad457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Set up Python
run: uv python install 3.12
- name: Type check
run: uv run --group torch basedpyright
run: uv run basedpyright

ruff:
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ exclude = [
"dist",
"node_modules",
"site-packages",
"venv",
"TransformerLens",
"ui"
]

line-length = 120
Expand Down Expand Up @@ -135,6 +132,7 @@ docstring-code-line-length = "dynamic"


[tool.pyright]
ignore = ["tests"]
typeCheckingMode = "strict"
reportUnknownMemberType = false
reportUntypedFunctionDecorator = false
Expand Down

0 comments on commit fdad457

Please sign in to comment.