Skip to content

Commit

Permalink
Merge pull request #213 from jorenham/pyright-ignore-venv
Browse files Browse the repository at this point in the history
configure (based)pyright to ignore `.venv` when opened
  • Loading branch information
jorenham authored Nov 28, 2024
2 parents 179a624 + 8144714 commit 32cca24
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 12 deletions.
52 changes: 41 additions & 11 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ scipy = {version = ">=1.10", optional = true}

[tool.poetry.group.dev.dependencies]
scipy = "1.14.1"
poethepoet = "^0.31.0"
poethepoet = "^0.31.1"
pre-commit = "^4.0.1"
tox = "^4.23.2"

Expand Down Expand Up @@ -145,6 +145,7 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]

[tool.pyright]
include = ["codegen", "scipy-stubs", "tests"]
ignore = [".venv"]
venv = ".venv"
venvPath = "."
stubPath = "."
Expand Down

0 comments on commit 32cca24

Please sign in to comment.