From bf18f870c7f4d751225c15e6371550e04547f538 Mon Sep 17 00:00:00 2001 From: Thomas Piekarski Date: Fri, 17 Jul 2020 12:29:33 +0200 Subject: [PATCH] Organizing imports upon saving files --- .vscode/settings.json | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index b0a9a65..0fcd3ef 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "[python]": { + "editor.codeActionsOnSave": { + "source.organizeImports": true + }, "editor.rulers": [ 100, 120 diff --git a/README.md b/README.md index 30bec3c..69001a5 100644 --- a/README.md +++ b/README.md @@ -224,6 +224,7 @@ derl tests/test-directory/ --context --dispatch > tests/references/output-with-c ## [Links](#links) +- Blog, eshlox, [VS Code - sort Python imports automatically](https://eshlox.net/2019/12/02/vscode-sort-python-imports-automatically) - Digital Ocean, [How-To Use String Formatters in Python 3](https://www.digitalocean.com/community/tutorials/how-to-use-string-formatters-in-python-3) - Findwork, [Advanced usage of Python requests - timeouts, retries, hooks](https://findwork.dev/blog/advanced-usage-python-requests-timeouts-retries-hooks/) - Geeks for geeks, [Testing Output to stdout](https://www.geeksforgeeks.org/python-testing-output-to-stdout/)