generated from habedi/template-python-project-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
33 lines (26 loc) · 830 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# EditorConfig is awesome: https://EditorConfig.org
# Top-most EditorConfig file
root = true
# Global settings (applicable to all files unless overridden)
[*]
charset = utf-8 # Default character encoding
end_of_line = lf # Use LF for line endings (Unix-style)
indent_style = space # Use spaces for indentation
indent_size = 4 # Default indentation size
insert_final_newline = true # Make sure files end with a newline
trim_trailing_whitespace = true # Remove trailing whitespace
# Python specific settings, complying with PEP 8 style guide, except for the line length
[*.py]
max_line_length = 120
# Markdown files
[*.md]
trim_trailing_whitespace = false # Don't remove trailing whitespace in Markdown files
# Bash scripts
[*.sh]
indent_size = 2
# YAML files
[*.yaml]
indent_size = 2
# Go files
[*.Go]
max_line_length = 100