Create an .editorconfig at the root of the repository to enforce 4 spaces for Python, 2 spaces for JSON/YAML, UTF-8 charset, and final newlines.
Ensures that all contributors automatically use the correct tab/space settings in their IDEs before they even hit pre-commit hooks.
.editorconfig*.py, *.yml, *.mdpre-commit run --all-files