Skip to content

Commit

Permalink
Make EditorConfig match Jupyter for notebooks
Browse files Browse the repository at this point in the history
Jupyter notebook doesn't add a newline at EOF, so we shouldn't have
EditorConfig do it for .ipynb files either.
  • Loading branch information
anishathalye committed Apr 6, 2022
1 parent c4e8462 commit ca44e8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Expand Up @@ -8,5 +8,8 @@ indent_style = space
trim_trailing_whitespace = true
indent_size = 4

[*.ipynb]
insert_final_newline = false

[*.{yml,yaml}]
indent_size = 2

0 comments on commit ca44e8f

Please sign in to comment.