summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 679ae499ca0e400bb5bf4572e84256272f7fc4d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt

# This file is for unifying the coding style for different editors and IDEs.
# More information at http://EditorConfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.py]
max_line_length = 100

[*.pyi]
max_line_length = 100

[*.c]
max_line_length = 100

[*.h]
max_line_length = 100

[*.yml]
indent_size = 2

[*.rst]
max_line_length = 79

[*.tok]
trim_trailing_whitespace = false

[*_dos.tok]
end_of_line = crlf

[Makefile]
indent_style = tab
indent_size = 8

[*,cover]
trim_trailing_whitespace = false

[*.diff]
trim_trailing_whitespace = false

[.git/*]
trim_trailing_whitespace = false