Skip to content

Commit

Permalink
Editorconfig (#2)
Browse files Browse the repository at this point in the history
* Add .editorconfig from mherrmann#31 by @fslds
  • Loading branch information
elifarley authored Dec 20, 2024
1 parent c618dc5 commit 03a0c92
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# EditorConfig is awesome: https://EditorConfig.org

# Not the top-most EditorConfig file, only contains settings for this project.
root = false

# Unix-style newlines for all files
[*]
end_of_line = lf

# Set default charset
[*.{py,md,cfg,yml,gitignore}]
charset = utf-8

# Style for Python
[*.py]
indent_style = space
indent_size = 4
insert_final_newline = true

# Style for YAML
[*.{yml,yaml}]
indent_style = space
indent_size = 2
insert_final_newline = true

0 comments on commit 03a0c92

Please sign in to comment.