Skip to content

Commit

Permalink
Add editorconfig linting (#13)
Browse files Browse the repository at this point in the history
* repo-stream update

* Create .editorconfig
  • Loading branch information
mondeja committed Jul 8, 2021
1 parent b7d3496 commit af9b0fc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
charset = utf-8
indent_style = space
trim_trailing_whitespace = true

[*.{py,md}]
trim_trailing_whitespace = false
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ repos:
- -config=https://github.com/mondeja/repo-stream-config
- -updater=upstream
- repo: https://github.com/mondeja/pre-commit-hooks
rev: v1.5.2
rev: v1.5.1
hooks:
- id: root-editorconfig-required
- id: dev-extras-required
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.3.5
hooks:
- id: editorconfig-checker

0 comments on commit af9b0fc

Please sign in to comment.