Skip to content

Commit 4e1da3b

Browse files
authored
Format YAML (alisw#973)
* Do not wrap * Format * Adjust * Adjust * Adjust * Adjust * Adjust * Adjust * Adjust * Adjust * Adjust * Adjust * Adjust
1 parent 11d4ece commit 4e1da3b

17 files changed

+4873
-6462
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ jobs:
5959
ci/run-tests.sh --tests ${{ matrix.test-tool }} --files $changed_files
6060
- name: Run on push
6161
if: github.event_name == 'push'
62-
run: |
62+
run: |-
6363
ci/run-tests.sh --tests ${{ matrix.test-tool }}

.mega-linter.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,5 @@ FLAVOR_SUGGESTIONS: false # Don't show suggestions about different MegaLinter fl
3636
PYTHON_ISORT_CONFIG_FILE: pyproject.toml
3737
PYTHON_PYRIGHT_CONFIG_FILE: pyproject.toml
3838
PYTHON_RUFF_CONFIG_FILE: pyproject.toml
39-
CPP_CPPLINT_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", ".cuh", ".cxx", ".cxx.in", ".h", ".h++", ".hh",
40-
".h.in", ".hpp", ".hxx", ".inc", ".inl", ".macro"]
41-
CPP_CLANG_FORMAT_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", ".cuh", ".cxx", ".cxx.in", ".h", ".h++",
42-
".hh", ".h.in", ".hpp", ".hxx", ".inc", ".inl", ".macro"]
39+
CPP_CPPLINT_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", ".cuh", ".cxx", ".cxx.in", ".h", ".h++", ".hh", ".h.in", ".hpp", ".hxx", ".inc", ".inl", ".macro"]
40+
CPP_CLANG_FORMAT_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", ".cuh", ".cxx", ".cxx.in", ".h", ".h++", ".hh", ".h.in", ".hpp", ".hxx", ".inc", ".inl", ".macro"]

.yamlfmt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ formatter:
88
include_document_start: true
99
line_ending: lf
1010
retain_line_breaks_single: true
11-
max_line_length: 120
11+
max_line_length: -1
1212
drop_merge_tag: true
1313
pad_line_comments: 1
1414
trim_trailing_whitespace: true

ci/pytest/yaml.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
---
12
test:
2-
test1: [42, "test", Null]
3-
test2:
4-
tea: False
5-
coffee: True
6-
list_of_lists:
7-
- [1, 2, 3,4, 5]
8-
- ["ABC", "DEF", "GHI"]
9-
- [Null, False, True, true, false, null]
10-
test3: 42
3+
test1: [42, "test", Null]
4+
test2:
5+
tea: False
6+
coffee: True
7+
list_of_lists:
8+
- [1, 2, 3, 4, 5]
9+
- ["ABC", "DEF", "GHI"]
10+
- [Null, False, True, true, false, null]
11+
test3: 42

0 commit comments

Comments
 (0)