Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format YAML #973

Merged
merged 13 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ jobs:
ci/run-tests.sh --tests ${{ matrix.test-tool }} --files $changed_files
- name: Run on push
if: github.event_name == 'push'
run: |
run: |-
ci/run-tests.sh --tests ${{ matrix.test-tool }}
6 changes: 2 additions & 4 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,5 @@ FLAVOR_SUGGESTIONS: false # Don't show suggestions about different MegaLinter fl
PYTHON_ISORT_CONFIG_FILE: pyproject.toml
PYTHON_PYRIGHT_CONFIG_FILE: pyproject.toml
PYTHON_RUFF_CONFIG_FILE: pyproject.toml
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"]
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"]
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"]
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"]
2 changes: 1 addition & 1 deletion .yamlfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ formatter:
include_document_start: true
line_ending: lf
retain_line_breaks_single: true
max_line_length: 120
max_line_length: -1
drop_merge_tag: true
pad_line_comments: 1
trim_trailing_whitespace: true
Expand Down
19 changes: 10 additions & 9 deletions ci/pytest/yaml.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
test:
test1: [42, "test", Null]
test2:
tea: False
coffee: True
list_of_lists:
- [1, 2, 3,4, 5]
- ["ABC", "DEF", "GHI"]
- [Null, False, True, true, false, null]
test3: 42
test1: [42, "test", Null]
test2:
tea: False
coffee: True
list_of_lists:
- [1, 2, 3, 4, 5]
- ["ABC", "DEF", "GHI"]
- [Null, False, True, true, false, null]
test3: 42
Loading