File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -153,18 +153,21 @@ dependencies = [
153
153
" mypy-extensions==1.0.0" ,
154
154
" ruff==0.4.8" ,
155
155
" isort==5.13.2" ,
156
+ " yamlfix==1.16.1" ,
156
157
]
157
158
[tool .hatch .envs .linting .scripts ]
158
159
typing = " mypy --config-file=pyproject.toml {args:} ./src/ ./tests/ ./examples/"
159
160
style = [
160
161
" ruff check {args:.} ./src/ ./tests/ ./examples/" ,
161
162
" black --check --diff {args:} ./src/ ./tests/ ./examples/" ,
162
163
" isort --check-only --profile black {args:} ./src/ ./tests/ ./examples/" ,
164
+ " yamlfix --check ." ,
163
165
]
164
166
fmt = [
165
167
" black {args:} ./src/ ./tests/ ./examples/" ,
166
168
" ruff check --fix {args:.} ./src/ ./tests/ ./examples/" ,
167
169
" isort --profile black {args:} ./src/ ./tests/ ./examples/" ,
170
+ " yamlfix ." ,
168
171
" style" ,
169
172
]
170
173
all = [
@@ -243,3 +246,7 @@ exclude_lines = [
243
246
# Don't complain about ineffective code:
244
247
" pass" ,
245
248
]
249
+
250
+ [tool .yamlfix ]
251
+ sequence_style = " keep_style"
252
+ preserve_quotes = true
You can’t perform that action at this time.
0 commit comments