diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b670494600dd5a55307cac2218c37790e5d8ac28..9b69b370d899914c9bf9294d6b5e4abfd61302a4 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,24 +10,28 @@ "-v", "${localWorkspaceFolder}/../build:/workspaces/build:delegated" ], - "settings": { - "terminal.integrated.shell.linux": "/bin/bash", - "git.path": "/opt/rh/sclo-git25/root/usr/bin/git", - "python.envFile": "${workspaceFolder}/../build/env.txt", - "python.linting.enabled": true, - "python.linting.pylintEnabled": false, - "python.linting.flake8Enabled": true, - "python.linting.flake8Args": [ - "--isolated", - "--select ATL,F,E101,E7,E9,W6", - "--ignore E701,E702,E704,E741", - "--enable-extensions ATL902" - ] - }, + "customizations": { + "vscode": { + "settings": { + "terminal.integrated.shell.linux": "/bin/bash", + "git.path": "/opt/rh/sclo-git25/root/usr/bin/git", + "python.envFile": "${workspaceFolder}/../build/env.txt", + "python.linting.enabled": true, + "python.linting.pylintEnabled": false, + "python.linting.flake8Enabled": true, + "python.linting.flake8Args": [ + "--isolated", + "--select=ATL,F,E101,E7,E9,W6", + "--ignore=E701,E702,E704,E741", + "--enable-extensions=ATL902" + ] + }, - "extensions": [ - "ms-vscode.cpptools", - "ms-python.python", - "twxs.cmake" - ] + "extensions": [ + "ms-vscode.cpptools", + "ms-python.python", + "twxs.cmake" + ] + } + } } diff --git a/.vscode/settings.json b/.vscode/settings.json index 6d69fa0b822b58977876f4da269d4a8c72c4bdff..e7d2c64519d2238e0de1e5747d8d0c72885bbaf2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,8 +14,8 @@ "python.linting.flake8Path": "${workspaceFolder}/../build/ide_flake8", "python.linting.flake8Args": [ "--isolated", - "--select ATL,F,E101,E7,E9,W6", - "--ignore E701,E702,E704,E741", - "--enable-extensions ATL902" + "--select=ATL,F,E101,E7,E9,W6", // note that equals sign is required by VS Code + "--ignore=E701,E702,E704,E741", + "--enable-extensions=ATL902" ] }