Fix Pyright paths in pyproject.toml

This commit is contained in:
Pavel Minaev 2024-01-03 16:17:31 -08:00 committed by GitHub
parent 81ed1ca909
commit 72d371d116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,12 +16,9 @@ exclude = '''
[tool.pyright]
pythonVersion = "3.12"
include = ["src/**", "tests/**"]
extraPaths = ["src/debugpy/_vendored/pydevd"]
extraPaths = ["src", "src/debugpy/_vendored/pydevd", "tests"]
ignore = ["src/debugpy/_vendored/pydevd", "src/debugpy/_version.py"]
executionEnvironments = [
{ root = "src" },
{ root = "." },
]
executionEnvironments = [{ root = "." }]
[tool.ruff]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.