|
9 | 9 | // Set *default* container specific settings.json values on container create.
|
10 | 10 | "settings": {
|
11 | 11 | "austin.mode": "Wall time",
|
12 |
| - "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 12 | + "editor.defaultFormatter": "charliermarsh.ruff", |
13 | 13 | "editor.formatOnSave": true,
|
14 | 14 | "jupyter.widgetScriptSources": ["jsdelivr.com", "unpkg.com"],
|
| 15 | + "python.locator": "native", |
15 | 16 | "prettier.prettierPath": "/usr/local/prettier",
|
16 | 17 | "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
17 |
| - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
18 |
| - "python.formatting.provider": "black", |
19 | 18 | "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
20 | 19 | "python.languageServer": "Pylance",
|
21 | 20 | "python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
|
22 | 21 | "python.linting.enabled": true,
|
23 |
| - "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
24 | 22 | "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
25 | 23 | "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
26 | 24 | "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
27 |
| - // Line length to match black settings |
28 |
| - // Disabling specific messages: |
29 |
| - // - To find the details do: /usr/local/py-utils/bin/pylint --list-msgs |
30 |
| - // - Disable missing-module-docstring (C0114) because we don't document modules routinely, just their members |
31 |
| - // - Disable invalid-name (C0103) because pylint thinks that eg 'x', 'df', 'np' are invalid due to their lengths |
32 |
| - "python.linting.pylintArgs": [ |
33 |
| - "--max-line-length=120", |
34 |
| - "--disable=missing-module-docstring,invalid-name" |
35 |
| - ], |
36 |
| - "python.linting.pylintEnabled": true, |
37 |
| - "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint", |
38 | 25 | "python.pythonPath": "/usr/local/bin/python",
|
39 | 26 | "terminal.integrated.defaultProfile.linux": "zsh"
|
40 | 27 | },
|
|
51 | 38 | "ms-toolsai.jupyter-keymap",
|
52 | 39 | "ms-vsliveshare.vsliveshare",
|
53 | 40 | "p403n1x87.austin-vscode",
|
54 |
| - "ritwickdey.liveserver" |
| 41 | + "ritwickdey.liveserver", |
| 42 | + "charliermarsh.ruff" |
55 | 43 | ],
|
56 | 44 |
|
57 | 45 | // Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
0 commit comments