Skip to content

Commit

Permalink
Merge pull request #8021 from cfpb/fix/vscode-black
Browse files Browse the repository at this point in the history
Update VSCode Python formatter setting
  • Loading branch information
chosak authored Nov 21, 2023
2 parents e8364f2 + 194cf39 commit 43a5a64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"[python]": {
"editor.defaultFormatter": "ms-python.python"
"editor.defaultFormatter": "ms-python.black-formatter"
}
}
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43a5a64

Please sign in to comment.