- support Python 3.11
- drop support for Python 3.7
- switch from pdm-pep517 to pdm-backend
- add include and exclude cli options
- account for explicit_start=False when handline whitelines
- services.py: Change behaviour to only list changed files by default
- services.py: Fix counting of fixed files
- entrypoints.py/init.py: Fix type
- entrypoints/init.py: Add comment about third logging level
- entrypoints/init.py: Move color codes back into their own list
- cli.py: Add ability to glob on directories
- cli.py: Use build-in required flag in click
- adapters.py: Add section whitelines
- adapters.py: Fix behavior for section whitelines at the end of the document
- compare sequence_style with proper (enum) type and add more tests
- make space after comment start and spaces before inline-comment configurable
- comment fix was only applied to yaml source before ruyaml ran, not after, which missed some comment fixes after block/flow style conversions
- issues with flow-style inline-comments
- add use-case / check workaround for issue #188
- add quotations to simple list values as well
- make yamlfix configurable with sane default values
- correct wrong wording in 'allow_duplicate_keys' docs and set default value to 'False'
- apply pull request suggestions by setting default values, and removing flow-style multi-line support
- update pre-commit hook versions, align mypy config with pyproject.toml, remove flakehell and add flakeheaven
- remove dependency with py
- restore the comment identation management
- don't erase strings that are a jinja2 variable expansion
- stabilize the package
- don't break jinja2 expansion on variables assignment
- add support to jinja2 variables
- add support to line cropping
- allow fix_files to read paths to files as arguments
- allow fix_files to read paths to files as arguments
- use pdm as package manager
- use pdm as package manager
- fix types of pre-commit-hooks
- don't overwrite files if content is not modified. Closes #142.
- support comments in the middle of a string
- Moved shebang skipping code to fix_code instead of fix_files. Closes #123
- revert the ruyaml dependency
- don't modify Ansible vaults. Closes #135.
- make docstring match functionality, closes #133
- update ruyaml version with anchor bug fix
- add newline at end of file
- remove leftover warning log
- remove workaround for stdin tests
- turn 'files' into required arg
- add logging formatter and preserve levels
- add logs and logging tests
- allow formatting files with multiple documents
- install wheel in the build pipeline
- add a ci job to test that the program is installable
- replace ruamel.yaml with ruyaml
- respect the double exclamation marks in the variables
- respect anchors in urls
- allow the use of yamlfix as a pre-commit hook
- respect comments indentation in lists.
- manage comments
- correct indentation of parent lists with comments
- correct truthy strings (#3)
- correct indentation of top level lists (#5)
- remove _add_heading in favour of explicit_start attribute
- initial iteration
- create initial project structure