Skip to content

Commit a0a8ca6

Browse files
committed
Remove rope
1 parent a100dd7 commit a0a8ca6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+6
-1965
lines changed

.github/test_plan.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,6 @@ def foo():pass
224224
- [ ] yapf
225225
- [ ] `"editor.formatOnType": true` works and has expected results
226226

227-
#### [Refactoring](https://code.visualstudio.com/docs/python/editing#_refactoring)
228-
229-
- [ ] [`Extract Variable`](https://code.visualstudio.com/docs/python/editing#_extract-variable) works
230-
- [ ] You are prompted to install `rope` if it is not already available
231-
- [ ] [`Extract method`](https://code.visualstudio.com/docs/python/editing#_extract-method) works
232-
- [ ] You are prompted to install `rope` if it is not already available
233-
- [ ] [`Sort Imports`](https://code.visualstudio.com/docs/python/editing#_sort-imports) works
234-
235227
### [Debugging](https://code.visualstudio.com/docs/python/debugging)
236228

237229
- [ ] [Configurations](https://code.visualstudio.com/docs/python/debugging#_debugging-specific-app-types) work (see [`package.json`](https://github.com/Microsoft/vscode-python/blob/main/package.json) and the `"configurationSnippets"` section for all of the possible configurations)

build/conda-functional-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pycodestyle
1111
pydocstyle
1212
nose
1313
pytest==4.6.9 # Last version of pytest with Python 2.7 support
14-
rope
1514
fastapi ; python_version>='3.6'
1615
uvicorn ; python_version>='3.6'
1716
flask

build/test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pydocstyle
1111
prospector ; python_version > '2.7'
1212
nose
1313
pytest<6 ; python_version > '2.7' # Tests currently fail against pytest 6.
14-
rope
1514
flask
1615
fastapi ; python_version > '2.7'
1716
uvicorn ; python_version > '2.7'

package.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -219,16 +219,6 @@
219219
"title": "%python.command.python.resetInterpreterSecurityStorage.title%",
220220
"category": "Python"
221221
},
222-
{
223-
"command": "python.refactorExtractVariable",
224-
"title": "%python.command.python.refactorExtractVariable.title%",
225-
"category": "Python Refactor"
226-
},
227-
{
228-
"command": "python.refactorExtractMethod",
229-
"title": "%python.command.python.refactorExtractMethod.title%",
230-
"category": "Python Refactor"
231-
},
232222
{
233223
"command": "python.viewTestOutput",
234224
"title": "%python.command.python.viewTestOutput.title%",
@@ -372,18 +362,6 @@
372362
],
373363
"menus": {
374364
"editor/context": [
375-
{
376-
"command": "python.refactorExtractVariable",
377-
"title": "Refactor: Extract Variable",
378-
"group": "Refactor",
379-
"when": "editorHasSelection && editorLangId == python && !notebookEditorFocused"
380-
},
381-
{
382-
"command": "python.refactorExtractMethod",
383-
"title": "Refactor: Extract Method",
384-
"group": "Refactor",
385-
"when": "editorHasSelection && editorLangId == python && !notebookEditorFocused"
386-
},
387365
{
388366
"command": "python.sortImports",
389367
"title": "Refactor: Sort Imports",

package.nls.de.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"python.command.python.debugtests.title": "Alle Unittests debuggen",
88
"python.command.python.execInTerminal.title": "Python-Datei im Terminal ausführen",
99
"python.command.python.setInterpreter.title": "Interpreter auswählen",
10-
"python.command.python.refactorExtractVariable.title": "Variable extrahieren",
11-
"python.command.python.refactorExtractMethod.title": "Methode extrahieren",
1210
"python.command.python.viewTestOutput.title": "Unittest-Ausgabe anzeigen",
1311
"python.command.python.selectAndRunTestMethod.title": "Unittest-Methode ausführen ...",
1412
"python.command.python.selectAndDebugTestMethod.title": "Unittest-Debug-Methode ausführen ...",

package.nls.es.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"python.command.python.debugtests.title": "Depurar todas las pruebas unitarias",
88
"python.command.python.execInTerminal.title": "Ejecutar archivo Python en la terminal",
99
"python.command.python.setInterpreter.title": "Seleccionar intérprete",
10-
"python.command.python.refactorExtractVariable.title": "Extraer variable",
11-
"python.command.python.refactorExtractMethod.title": "Extraer método",
1210
"python.command.python.viewTestOutput.title": "Mostrar resultados de la prueba unitaria",
1311
"python.command.python.selectAndRunTestMethod.title": "Método de ejecución de pruebas unitarias ...",
1412
"python.command.python.selectAndDebugTestMethod.title": "Método de depuración de pruebas unitarias ...",

package.nls.fr.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"python.command.python.debugtests.title": "Déboguer tous les tests unitaires",
88
"python.command.python.execInTerminal.title": "Exécuter le script Python dans un terminal",
99
"python.command.python.setInterpreter.title": "Sélectionner l'interpreteur",
10-
"python.command.python.refactorExtractVariable.title": "Extraire la variable",
11-
"python.command.python.refactorExtractMethod.title": "Extraire la méthode",
1210
"python.command.python.viewTestOutput.title": "Afficher la sortie des tests unitaires",
1311
"python.command.python.selectAndRunTestMethod.title": "Exécuter la méthode de test unitaire ...",
1412
"python.command.python.selectAndDebugTestMethod.title": "Déboguer la méthode de test unitaire ...",

package.nls.it.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"python.command.python.debugtests.title": "Esegui debug di tutti i test",
88
"python.command.python.execInTerminal.title": "Esegui file Python nel terminale",
99
"python.command.python.setInterpreter.title": "Seleziona interprete",
10-
"python.command.python.refactorExtractVariable.title": "Estrai variable",
11-
"python.command.python.refactorExtractMethod.title": "Estrai metodo",
1210
"python.command.python.viewTestOutput.title": "Mostra output dei test",
1311
"python.command.python.selectAndRunTestMethod.title": "Esegui metodo di test ...",
1412
"python.command.python.selectAndDebugTestMethod.title": "Esegui debug del metodo di test ...",

package.nls.ja.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
"python.command.python.debugtests.title": "すべての単体テストをデバッグ",
77
"python.command.python.execInTerminal.title": "ターミナルで Python ファイルを実行",
88
"python.command.python.setInterpreter.title": "インタープリターを選択",
9-
"python.command.python.refactorExtractVariable.title": "変数を抽出",
10-
"python.command.python.refactorExtractMethod.title": "メソッドを抽出",
119
"python.command.python.viewTestOutput.title": "単体テストの出力を表示",
1210
"python.command.python.selectAndRunTestMethod.title": "単体テストメソッドを実行...",
1311
"python.command.python.selectAndDebugTestMethod.title": "単体テストメソッドをデバッグ...",

package.nls.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
"python.command.python.switchToWeeklyChannel.title": "Switch to Insiders Weekly Channel",
1313
"python.command.python.clearWorkspaceInterpreter.title": "Clear Workspace Interpreter Setting",
1414
"python.command.python.resetInterpreterSecurityStorage.title": "Reset Stored Info for Untrusted Interpreters",
15-
"python.command.python.refactorExtractVariable.title": "Extract Variable",
16-
"python.command.python.refactorExtractMethod.title": "Extract Method",
1715
"python.command.python.viewOutput.title": "Show Output",
1816
"python.command.python.viewTestOutput.title": "Show Test Output",
1917
"python.command.python.viewLanguageServerOutput.title": "Show Language Server Output",

0 commit comments

Comments
 (0)