| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 83968c1 commit bc1b054
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,6 +34,23 @@ | |||
| 34 | 34 | - [ ] Right-click | |
| 35 | 35 | - [ ] Command | |
| 36 | 36 | - [ ] `Shift+Enter` | |
| 37 | + | ||
| 38 | + #### Terminal | ||
| 39 | + Sample file: | ||
| 40 | + ```python | ||
| 41 | + import requests | ||
| 42 | + request = requests.get("https://drive.google.com/uc?export=download&id=1_9On2-nsBQIw3JiY43sWbrF8EjrqrR4U") | ||
| 43 | + with open("survey2017.zip", "wb") as file: | ||
| 44 | + file.write(request.content) | ||
| 45 | + import zipfile | ||
| 46 | + with zipfile.ZipFile('survey2017.zip') as zip: | ||
| 47 | + zip.extractall('survey2017') | ||
| 48 | + import shutil, os | ||
| 49 | + shutil.move('survey2017/survey_results_public.csv','survey2017.csv') | ||
| 50 | + shutil.rmtree('survey2017') | ||
| 51 | + os.remove('survey2017.zip') | ||
| 52 | + ``` | ||
| 53 | + - [ ] *Shift+Enter* to send selected code in sample file to terminal works | ||
| 37 | 54 | ||
| 38 | 55 | #### Virtual environments | |
| 39 | 56 | ||
@@ -104,6 +121,13 @@ SPAM='hello ${WHO}' | |||
| 104 | 121 | **ALWAYS**: | |
| 105 | 122 | - Check under the `Problems` tab to see e.g. if a linter is raising errors | |
| 106 | 123 | ||
| 124 | + #### Language server | ||
| 125 | + | ||
| 126 | + - [ ] Installing [`requests`](https://pypi.org/project/requests/) in virtual environment is detected | ||
| 127 | + - [ ] Import of `requests` without package installed is flagged as unresolved | ||
| 128 | + - [ ] Create a virtual environment | ||
| 129 | + - [ ] Install `requests` into the virtual environment | ||
| 130 | + | ||
| 107 | 131 | #### Pylint/default linting | |
| 108 | 132 | [Prompting to install Pylint is covered under `Environments` above] | |
| 109 | 133 | ||
@@ -156,6 +180,7 @@ Please also test for general accuracy on the most "interesting" code you can fin | |||
| 156 | 180 | ||
| 157 | 181 | - [ ] `"python.autoComplete.extraPaths"` works | |
| 158 | 182 | - [ ] `"python.autocomplete.addBrackets": true` causes auto-completion of functions to append `()` | |
| 183 | + - [ ] Auto-completions works | ||
| 159 | 184 | ||
| 160 | 185 | #### [Formatting](https://code.visualstudio.com/docs/python/editing#_formatting) | |
| 161 | 186 | Sample file: | |
@@ -214,6 +239,7 @@ def foo():pass | |||
| 214 | 239 | - [ ] `Variables` section of debugger sidebar | |
| 215 | 240 | - [ ] [Remote debugging](https://code.visualstudio.com/docs/python/debugging#_remote-debugging) works | |
| 216 | 241 | - [ ] ... over SSH | |
| 242 | + - [ ] ... on other branches | ||
| 217 | 243 | - [ ] [App Engine](https://code.visualstudio.com/docs/python/debugging#_google-app-engine-debugging) | |
| 218 | 244 | ||
| 219 | 245 | ### [Unit testing](https://code.visualstudio.com/docs/python/unit-testing) | |
@@ -328,4 +354,10 @@ def test_failure(): | |||
| 328 | 354 | - [ ] Cancelling configuration does not leave incomplete settings | |
| 329 | 355 | - [ ] The first `"request": "test"` entry in launch.json is used for running unit tests | |
| 330 | 356 | ||
| 357 | + ### [Data Science](https://code.visualstudio.com/docs/python/jupyter-support) | ||
| 358 | + - [ ] Set Python environment to Anaconda | ||
| 359 | + - [ ] Single cell execution works | ||
| 360 | + - [ ] `Run All Cells` in Jupyter code works | ||
| 361 | + - [ ] Typing code into Python interactive window works | ||
| 362 | + | ||
| 331 | 363 | </details> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments