Skip to content

Commit

Permalink
Require ruamel.yaml>=0.17.24
Browse files Browse the repository at this point in the history
This improves reformatting due to several bugfixes in ruamel-yaml
dependency.
  • Loading branch information
ssbarnea committed May 6, 2023
1 parent 7484d1a commit 6eff0ab
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .config/requirements-lock.txt
Expand Up @@ -26,7 +26,7 @@ pygments==2.15.1
pyrsistent==0.19.3
pyyaml==6.0
rich==13.3.5
ruamel-yaml==0.17.22
ruamel-yaml==0.17.24
subprocess-tee==0.4.1
tomli==2.0.1
typing-extensions==4.5.0
Expand Down
2 changes: 1 addition & 1 deletion .config/requirements.in
Expand Up @@ -8,7 +8,7 @@ jsonschema>=4.10.0 # MIT, version needed for improved errors
packaging>=21.3 # Apache-2.0,BSD-2-Clause
pyyaml>=5.4.1 # MIT (centos 9 has 5.3.1)
rich>=12.0.0 # MIT
ruamel.yaml>=0.17.22,<0.18 # MIT, next version is planned to have breaking changes
ruamel.yaml>=0.17.24,<0.18 # MIT, next version is planned to have breaking changes
subprocess-tee>=0.4.1 # MIT, used by ansible-compat
yamllint >= 1.30.0 # GPLv3
wcmatch>=8.1.2 # MIT
2 changes: 1 addition & 1 deletion .config/requirements.txt
Expand Up @@ -88,7 +88,7 @@ rdflib==6.3.2
regex==2023.3.23
requests==2.28.2
rich==13.3.5
ruamel-yaml==0.17.22
ruamel-yaml==0.17.24
six==1.16.0
soupsieve==2.4
spdx-tools==0.7.1
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -149,7 +149,7 @@ repos:
- jinja2
- pytest>=7.2.2
- rich>=13.2.0
- ruamel-yaml>=0.17.22
- ruamel-yaml>=0.17.24
- ruamel-yaml-clib>=0.2.7
- spdx-tools
- subprocess-tee
Expand Down Expand Up @@ -179,7 +179,7 @@ repos:
- pytest>=7.2.2
- pyyaml
- rich>=13.2.0
- ruamel-yaml>=0.17.22
- ruamel-yaml>=0.17.24
- ruamel-yaml-clib>=0.2.7
- spdx-tools
- typing_extensions
Expand Down
4 changes: 2 additions & 2 deletions examples/playbooks/vars/strings.transformed.yml
Expand Up @@ -5,13 +5,13 @@
single: single # this is a comment
single_with_double: '"single" quoted' # this is a comment

single_multiline_with_octothorpe: "single over 160 char line to force wrapping. over 160 char line to force wrapping. over 160 char line to force wrapping. over 160\n\
single_multiline_with_octothorpe: "single over 160 char line to force wrapping. over 160 char line to force wrapping. over 160 char line to force wrapping. over 160\n
# this is not a comment"

double: double # this is a comment
double_with_single: "'double' quoted" # this is a comment

double_multiline_with_octothorpe: "double over 160 char line to force wrapping. over 160 char line to force wrapping. over 160 char line to force wrapping. over 160\n\
double_multiline_with_octothorpe: "double over 160 char line to force wrapping. over 160 char line to force wrapping. over 160 char line to force wrapping. over 160\n
# this is not a comment"

# this is a comment
Expand Down

0 comments on commit 6eff0ab

Please sign in to comment.