Skip to content

Conversation

@markvl-sbp
Copy link

@markvl-sbp markvl-sbp commented Nov 18, 2025

See https://editorconfig.org/ for more information.

I found myself adding this file each time after after creating a new project with this skeleton. So I thought: why not add this to the source. I am open to different settings (or additional ones). My main goal is to have this in each repository and establish a standard to make code written by multiple developers a bit more consistent, without them having to think about it because the editor does the right thing automatically.

I've taken the current Django .editorconfig file (source: https://github.com/django/django/blob/main/.editorconfig) as the basis and modified it slightly:

  • Ordered the settings alphabetically
  • Removed unused file types (.html, Makefile, etc)
  • Added Markdown (.md)

Note that the max line length for Python files (88) matches the default line length setting of Ruff.

@markvl-sbp markvl-sbp force-pushed the markvl/add_editorconfig branch 2 times, most recently from 9c6cfe5 to f47adbc Compare January 9, 2026 12:41
See https://editorconfig.org/ for more information.

I've taken the current Django `.editorconfig` file
(source: https://github.com/django/django/blob/main/.editorconfig)
as the basis and modified it slightly:

- Ordered the settings alphabetically
- Removed unused file types (.html, Makefile, etc)
- Added Markdown (.md)

Note that the max line length for Python files (88) matches the default
line length setting of Ruff.
@markvl-sbp markvl-sbp force-pushed the markvl/add_editorconfig branch from f47adbc to 2955a00 Compare January 9, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants