Debian Codegraph @

.editorconfig

raw
1 root = true
2
3 [*.{c,cxx,h,hpp}]
4 # https://numpy.org/neps/nep-0045-c_style_guide.html
5 indent_size = 4
6 indent_style = space
7 max_line_length = 88
8 trim_trailing_whitespace = true
9
10 [*.{md,py,pyi,pxd}]
11 # https://peps.python.org/pep-0008/
12 charset = utf-8
13 end_of_line = lf
14 indent_size = 4
15 indent_style = space
16 insert_final_newline = true
17 trim_trailing_whitespace = true
18
19 [*.py]
20 # Keep in sync with `tools/lint.toml`
21 # https://docs.astral.sh/ruff/settings/#line-length
22 max_line_length = 88
23
24 [*.pyi]
25 # https://typing.readthedocs.io/en/latest/guides/writing_stubs.html#style-guide
26 max_line_length = 130
27
28 [*.md]
29 max_line_length = 80