Context
create-python-app and website ship a root .editorconfig. The cpa-templates bank repo does not, so editor defaults can drift across contributions.
Steps
- Copy baseline rules from
Create-Python-App/create-python-app/.editorconfig.
- Adapt for file types used in this bank (Python, JSON, YAML, Markdown, Makefile).
- Add the file at the repo root.
- Open a PR with a
chore: commit.
Acceptance criteria
Files
.editorconfig (create)
- Reference:
create-python-app/.editorconfig
How to verify
Open a Python and a JSON file in an editor that respects EditorConfig and confirm indentation hints match.
Context
create-python-appandwebsiteship a root.editorconfig. Thecpa-templatesbank repo does not, so editor defaults can drift across contributions.Steps
Create-Python-App/create-python-app/.editorconfig.chore:commit.Acceptance criteria
.editorconfigexistsinsert_final_newline = trueandtrim_trailing_whitespace = trueFiles
.editorconfig(create)create-python-app/.editorconfigHow to verify
Open a Python and a JSON file in an editor that respects EditorConfig and confirm indentation hints match.