Skip to content

Add .editorconfig file #11883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2022
Merged

Add .editorconfig file #11883

merged 1 commit into from
Jan 1, 2022

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jan 1, 2022

Happy New Year, everyone!

What is an .editorconfig? It is a standard for cross-ide settings. Focused on text editing.
It helps to have better IDE experience and more consistent style.

For example, I've seen lots and lots of trailing white-spaces in Mypy.
This tool will help to reduce this amount.

Docs: https://editorconfig.org/

CPython has one: https://github.com/python/cpython/blob/main/.editorconfig
Typeshed will probably have one: python/typeshed#6771

@97littleleaf11
Copy link
Collaborator

Happy New Year! This is useful!

@97littleleaf11 97littleleaf11 merged commit 6330a41 into python:master Jan 1, 2022
@sobolevn
Copy link
Member Author

sobolevn commented Jan 1, 2022

@97littleleaf11 happy new year! 🎉

hauntsaninja pushed a commit to hauntsaninja/mypy that referenced this pull request Jan 3, 2022
hauntsaninja added a commit that referenced this pull request Jan 3, 2022
editorconfig was added in #11883 and broke check-manifest in https://github.com/mypyc/mypy_mypyc-wheels/runs/4680413534?check_suite_focus=true

Co-authored-by: hauntsaninja <>
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
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.

2 participants