diff --git a/.vscode/settings.json b/.vscode/settings.json index 9581c567ce3..448d1481e5f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,6 @@ "editor.formatOnSave": true, "editor.formatOnPaste": false, "[python]": { - "editor.defaultFormatter": "ms-python.python" + "editor.defaultFormatter": "ms-python.black-formatter" } } diff --git a/docs/installation.md b/docs/installation.md index e795180a9f3..0732e00f95c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -128,7 +128,7 @@ to support easier code formatting. This repository includes a `.vscode/settings.json` file that sets the [Prettier extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) as the default code formatter. It also sets the -[Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) +[Black extension](https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter) as the formatter for Python files. ### Install pre-commit