Skip to content

Commit

Permalink
fix basedpyright and pylint showing errors on generated/vendored code…
Browse files Browse the repository at this point in the history
… in vscode
  • Loading branch information
DetachHead committed Nov 7, 2024
1 parent 07ccee9 commit a038e81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
"jest.runMode": "on-demand",
"pylint.ignorePatterns": [
"**/pyright-internal/src/tests/samples/*",
"**/pyright-internal/typeshed-fallback/*",
"**/docstubs/*",
"**/build/*"
],
"terminal.integrated.env.windows": {
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ max-line-length = 200
pythonVersion = "3.8"
include = ["basedpyright", "based_build", "pdm_build.py", "tests"]
# https://github.com/DetachHead/basedpyright/issues/31
ignore = ["pw", "basedpyright/dist", "packages", "build"]
exclude = ["pw", "basedpyright/dist", "packages", "build"]
reportImplicitStringConcatenation = false # conflicts with ruff formatter
ignore = ["pw", "basedpyright/dist", "packages", "build", "docstubs"]
exclude = ["pw", "basedpyright/dist", "packages", "build", "docstubs"]
reportImplicitStringConcatenation = false # conflicts with ruff formatter

# currently commented out due to https://github.com/DetachHead/basedpyright/issues/570
# only seem to be needed when using pycharm, which i dont really care about anyway because pycharm sucks
Expand Down

0 comments on commit a038e81

Please sign in to comment.