Skip to content

Commit 9fd6130

Browse files
authored
Merge branch 'mealie-next' into manage-data-improve-delete-prompt
2 parents a0c891b + 1444404 commit 9fd6130

File tree

2 files changed

+22
-32
lines changed

2 files changed

+22
-32
lines changed

.devcontainer/devcontainer.json

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,26 @@
1818
"source=mealie-devcontainer-workspace,target=/workspaces/mealie/frontend/node_modules,type=volume",
1919
"source=mealie-bashhistory,target=/home/vscode/commandhistory,type=volume"
2020
],
21-
// Set *default* container specific settings.json values on container create.
22-
"settings": {
23-
"python.defaultInterpreterPath": "/usr/local/bin/python",
24-
"python.linting.enabled": true,
25-
"python.linting.pylintEnabled": true,
26-
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
27-
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
28-
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
29-
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
30-
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
31-
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
32-
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
33-
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
34-
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
21+
"customizations": {
22+
"vscode": {
23+
"settings": {
24+
"python.defaultInterpreterPath": "/usr/local/bin/python",
25+
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
26+
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
27+
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
28+
},
29+
"extensions": [
30+
"dbaeumer.vscode-eslint",
31+
"matangover.mypy",
32+
"ms-python.black-formatter",
33+
"ms-python.isort",
34+
"ms-python.pylint",
35+
"ms-python.python",
36+
"ms-python.vscode-pylance",
37+
"Vue.volar"
38+
]
39+
}
3540
},
36-
// Add the IDs of extensions you want installed when the container is created.
37-
"extensions": [
38-
"dbaeumer.vscode-eslint",
39-
"matangover.mypy",
40-
"ms-python.black-formatter",
41-
"ms-python.isort",
42-
"ms-python.python",
43-
"ms-python.vscode-pylance",
44-
"Vue.volar"
45-
],
4641
// Use 'forwardPorts' to make a list of ports inside the container available locally.
4742
"forwardPorts": [
4843
3000,

.vscode/settings.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,13 @@
3636
"i18n-ally.localesPaths": "frontend/lang/messages",
3737
"i18n-ally.sourceLanguage": "en-US",
3838
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
39-
"python.formatting.provider": "black",
40-
"python.linting.enabled": true,
41-
"python.linting.flake8Enabled": false,
42-
"python.linting.pylintEnabled": false,
43-
"python.linting.pylintArgs": [
44-
"--rcfile=${workspaceFolder}/.pylintrc"
45-
],
4639
"python.testing.autoTestDiscoverOnSaveEnabled": false,
4740
"python.testing.pytestArgs": [
4841
"tests"
4942
],
5043
"python.testing.pytestEnabled": true,
5144
"python.testing.unittestEnabled": false,
5245
"python.analysis.typeCheckingMode": "off",
53-
"python.linting.mypyEnabled": true,
5446
"search.mode": "reuseEditor",
5547
"python.testing.unittestArgs": [
5648
"-v",
@@ -69,4 +61,7 @@
6961
"[vue]": {
7062
"editor.formatOnSave": false
7163
},
64+
"[python]": {
65+
"editor.defaultFormatter": "ms-python.black-formatter",
66+
},
7267
}

0 commit comments

Comments
 (0)