René Welches

TECH NOTES TO MYSELF

Switching from Black to Ruff for Python Formatting in VS Code

One tool to replace Black, isort, and flake8 — faster and less strict

Why I replaced Black and isort with Ruff in VS Code, how the new configuration looks, and what it improves — especially when following along with Anthropic and other third-party code examples.

Setting Up Python Code Formatting in Visual Studio Code

Using Black, isort, and Mypy for cleaner Python code

Configure VS Code to automatically format Python code with Black and organize imports with isort on every save. Includes Mypy static type checking for more robust code.