Skip to content

Commit

Permalink
Merge pull request #168 from tal7aouy/tal7aouy
Browse files Browse the repository at this point in the history
Add .editorconfig for Consistent Python Coding Styles
  • Loading branch information
zainhoda authored Feb 13, 2024
2 parents 0a2867e + 2c3c4ab commit ef350bc
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# top-most EditorConfig file
root = true

# Python files
[*.py]
# Indentation style: space
indent_style = space

# Indentation size: Use 2 spaces
indent_size = 2

# Newline character at the end of file
insert_final_newline = true

# Charset: utf-8
charset = utf-8

# Trim trailing whitespace
trim_trailing_whitespace = true

# Max line length: 79 characters as per PEP 8 guidelines
max_line_length = 79

# Set end of line format to LF

# Exclude specific files or directories
exclude = 'docs|node_modules|migrations|.git|.tox'

0 comments on commit ef350bc

Please sign in to comment.