Skip to content

Commit

Permalink
Update tests (#6339)
Browse files Browse the repository at this point in the history
* update tests

* Update testing/single/src/codeaction.py

Co-authored-by: Erik De Bonte <[email protected]>

---------

Co-authored-by: Erik De Bonte <[email protected]>
  • Loading branch information
StellaHuang95 and debonte authored Aug 30, 2024
1 parent 8e92379 commit 9e0b55c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions testing/single/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.autoImportCompletions": true,
"python.analysis.indexing": true,
"python.analysis.typeCheckingMode": "basic",
"python.analysis.importFormat": "absolute",
"python.analysis.diagnosticSeverityOverrides": {
"reportMissingTypeStubs": "information"
},
// "editor.codeActionsOnSave": { "source.fixAll": true },
// "python.analysis.fixAll": [
// "source.unusedImports",
Expand Down
5 changes: 4 additions & 1 deletion testing/single/pyrightconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"./src"
]
}
]
],
"reportShadowedImports": "information",
"reportMissingTypeStubs": "information",
"typeCheckingMode": "basic",
}
1 change: 1 addition & 0 deletions testing/single/src/codeaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class TypeToMove:
# and trigger quick fix and confirm `Add "./outsideLib" to extraPaths` is listed
# execute the code action and confirm `extraPaths` is added to `settings.json`
# Undo currently does not work: https://github.com/microsoft/pylance-release/issues/5161
# It adds to `settings.json` even if a config file is present: https://github.com/microsoft/pylance-release/issues/6327
import outerModule


Expand Down

0 comments on commit 9e0b55c

Please sign in to comment.