Skip to content

Commit 4119e86

Browse files
Add formatting settings
1 parent 8febb62 commit 4119e86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup/setup_python_path.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ def create_vscode_settings():
183183

184184
# Settings to update for kernel and Python configuration
185185
required_settings = {
186+
"files.trimTrailingWhitespace": True,
187+
"files.insertFinalNewline": True,
188+
"files.trimFinalNewlines": True,
189+
"editor.renderWhitespace": "trailing",
186190
"python.defaultInterpreterPath": "./.venv/Scripts/python.exe" if os.name == 'nt' else "./.venv/bin/python",
187191
"python.pythonPath": "./.venv/Scripts/python.exe" if os.name == 'nt' else "./.venv/bin/python",
188192
"python.envFile": "${workspaceFolder}/.env",

0 commit comments

Comments
 (0)