<#9383 bug: Increase YAML width to prevent wrappin...
# meltano-repo-activity
g
#9383 bug: Increase YAML width to prevent wrapping long lines Issue created by edgarrmondragon ### Meltano Version 3.8.0 ### Python Version NA ### Bug scope CLI (options, error messages, logging, etc.) ### Operating System No response ### Description The current (default) width used by ruamel means that this command
Copy code
meltano add tap-mysql
results in plugins: extractors: - name: tap-mysql variant: transferwise pip_url: git+https://github.com/transferwise/pipelinewise.git#subdirectory=singer-connectors/tap-mysql (notice how the line containing the
pip_url
is wrapped. --- This is annoying because it means Meltano commands reformat the file in an unexpected way, and as such is related to: • #7054 • and #9256 but is definitely easier to just increase the default value in this case. --- A simple example of setting a custom width is in: https://yaml.dev/doc/ruamel.yaml/api/#Transparent_usage_of_new_and_old_API i.e. from ruamel.yaml import YAML yaml = YAML() yaml.width = ... but there might be a way to disable line wrapping entirely. ### Code plugins: extractors: - name: tap-mysql variant: transferwise pip_url: git+https://github.com/transferwise/pipelinewise.git#subdirectory=singer-connectors/tap-mysql ### Link to Slack/Linen No response meltano/meltano