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

feat: make yamlfix configurable with sane default values #189

Merged
merged 8 commits into from Dec 20, 2022

Commits on Dec 14, 2022

  1. fix: update pre-commit hook versions, align mypy config with pyprojec…

    …t.toml, remove flakehell and add flakeheaven
    marcules committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    2a5611b View commit details
    Browse the repository at this point in the history
  2. feat: make yamlfix configurable with sane default values

    - make default values, like line_length, explicit_start and indentation configurable
    - add configuration option for none-value representation
    - add configuration option for quote-style representation
    - add configuration option for flow-style / block-style sequences
    - add an option to quote every key and value
    - add an option to quote only simple values
    - add an option to switch between multi-line flow-style and flow-style
      -> block-style conversion if the list doesn't fit the line_length
    - implement reading of configuration values from files (with maison)
    - implement overriding specific values with prefixed env vars
    marcules committed Dec 14, 2022
    1 Configuration menu
    Copy the full SHA
    c6e333d View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Configuration menu
    Copy the full SHA
    1ab35b3 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

  1. Configuration menu
    Copy the full SHA
    c1d7be6 View commit details
    Browse the repository at this point in the history
  2. fix: apply pull request suggestions by setting default values, and re…

    …moving flow-style multi-line support
    marcules committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    012953f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4910f5e View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. fix: correct wrong wording in 'allow_duplicate_keys' docs and set def…

    …ault value to 'False'
    marcules committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    7b87cac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    337a7fd View commit details
    Browse the repository at this point in the history