Repository navigation
Expand file tree
/
Copy path.editorconfig
More file actions
106 lines (90 loc) · 4.03 KB
/
Copy path.editorconfig
File metadata and controls
106 lines (90 loc) · 4.03 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_size = 2
indent_style = space
max_line_length = 120
trim_trailing_whitespace = true
# Markdown files can have flexible indentation for lists
[*.md]
indent_size = unset
# OPA/Rego: `conftest fmt` (opa fmt) indents with tabs and isn't configurable, so
# its canonical formatting needs tabs, not the repo's space default.
[*.rego]
indent_style = tab
indent_size = unset
# License files use the canonical upstream formatting (centred headers, odd
# indent widths, etc.) -- leave them alone.
[LICENSE-*]
indent_size = unset
indent_style = unset
max_line_length = unset
trim_trailing_whitespace = unset
# Binary file formats that should be ignored
[*.onnx]
charset = unset
end_of_line = unset
insert_final_newline = unset
indent_size = unset
indent_style = unset
trim_trailing_whitespace = unset
max_line_length = unset
# License files use the canonical upstream formatting.
[LICENSE-*]
indent_size = unset
indent_style = unset
max_line_length = unset
trim_trailing_whitespace = unset
# Upstream WIT packages fetched verbatim -- their formatting is whatever the
# upstream repos use and shouldn't be normalised on our side.
[generated/specs/wit/deps/wasi-*/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
indent_size = unset
indent_style = unset
trim_trailing_whitespace = unset
max_line_length = unset
# mise-generated lockfiles (one per config file: mise.lock + mise.<env>.lock). Tracked so CI resolves tool
# versions offline, but `mise lock` owns their layout, and asset-URL lines run past the line length.
[.mise/mise*.lock]
max_line_length = unset
# The npm/PyPI dependency graphs those lockfiles reference, in aube's and uv's own formats. mise writes them, and
# their integrity and tarball URLs run past the line length the same way.
[.mise/locks/**]
max_line_length = unset
# openapi-python-client emits framework-boilerplate docstrings (e.g. the
# "errors.UnexpectedStatus: If the server returns an undocumented status code ..." line in every operation) that exceed
# the line length, and continuation lines inside the generated function signatures use 3-space indentation that
# clashes with the workspace `indent_size = 2`. ruff format doesn't reflow plain-text docstrings or
# re-indent the templates, so we drop both checks for this tree.
[generated/python-rest/**]
indent_size = unset
max_line_length = unset
# datamodel-code-generator renders each Pydantic field's `description=` from the schemars `description`
# (i.e. the source enum's `///` doc comment) as a single string literal -- `\n`-joined, no implicit
# concatenation. ruff format won't break string literals, so any multi-paragraph Rust doc comment on
# `ClientMessage` / `ServerMessage` blows past the line length in the generated Python.
[generated/python-ws/**]
max_line_length = unset
# Same story for openapi2zig: a handful of helpers (SSE parsing, query-string
# encoding) emit lines that exceed the line length and `zig fmt` won't reflow them.
# The generator is the source of truth; we don't edit its output by hand.
[generated/zig-rest/**]
max_line_length = unset
# swagger_parser + retrofit_generator emit doc comments lifted verbatim from the OpenAPI summaries plus
# long `.g.dart` request-builder lines that `dart format` leaves intact (the files carry `// dart format off`).
[generated/dart-rest/**]
max_line_length = unset
[config/upstream-cache/data.toml]
max_line_length = 200
# pnpm writes each package's `resolution: {integrity: sha512-...}` on one line, which exceeds the line length.
[**/pnpm-lock.yaml]
max_line_length = unset
# The generated Kubernetes manifests carry the hub's module list as one `MODULES_PATHS` env value -- ten absolute
# container paths on the widest scenario, 341 characters. A Kubernetes env value is a single YAML scalar with no
# line-continuation form available to the emitter, and the `mise` and `compose` outputs' trick of wrapping it does
# not apply. Only the manifests are exempt; the mise.toml, compose.yaml and README.md beside them still fit.
[verification/**/k3s.yaml]
max_line_length = unset