File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed
Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ insert_final_newline = true
7+ indent_style = space
8+ trim_trailing_whitespace = true
9+
10+ [* .bat ]
11+ end_of_line = crlf
12+
13+ [* .hex ]
14+ end_of_line = crlf
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ include: https://gitlab.sensirion.lokal/Sensirion/Python/ci-config-python/raw/ma
33check_rst_syntax :
44 extends : .check_rst_syntax_v2
55
6+ check_editorconfig :
7+ extends : .check_editorconfig_v2
8+
69
710py2p7_linux_build :
811 extends : .py2p7_linux_build_v2
Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ pip install -e .[test] # Install requirements
2727flake8 # Run style check
2828```
2929
30+ In addition, we check the formatting of files with
31+ [ ` editorconfig-checker ` ] ( https://editorconfig-checker.github.io/ ) :
32+
33+ ``` bash
34+ pip install editorconfig-checker==2.0.3 # Install requirements
35+ editorconfig-checker # Run check
36+ ```
37+
3038### Run tests
3139
3240Unit tests can be run with [ ` pytest ` ] ( https://pytest.org/ ) :
You can’t perform that action at this time.
0 commit comments