Skip to content

Commit

Permalink
add editor conf and ignore stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jsatt committed Aug 25, 2020
1 parent 5e14ffe commit 0c83c99
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
root = true

[*]
end_of_line = lf
insert_final_newline = false
charset = utf-8
trim_trailing_whitespace = true

[*.py]
indent_style = space
indent_size = 4
max_line_length = 119

[*.yaml,*.yml]
indent_style = space
indent_size = 2

[*.js,*.json]
indent_style = space
indent_size = 2
17 changes: 15 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
*.swp
# config
.env

# python
__pycache__
*.pyc
settings_override.py
.ipython/

# editors
*.sw[mnop]
*.orig

# linters
.mypy_cache
.coverage
htmlcov/

0 comments on commit 0c83c99

Please sign in to comment.