check-config

Crates.iocheck-config
lib.rscheck-config
version0.4.0
sourcesrc
created_at2023-08-25 23:02:47.170354
updated_at2023-09-11 17:41:13.793045
descriptionCheck configuration files.
homepagehttps://pypi.org/project/check-config/
repositoryhttps://github.com/mrijken/check-config
max_upload_size
id955100
size117,995
Marc Rijken (mrijken)

documentation

https://check-config.readthedocs.io

README

Check Config

It can be cumbersome when you have multiple projects and environments with configuration files which need to be upgraded and keep in sync regularly. Check-config will help you with i.e. making sure that the configuration file have the (upgraded) settings.

Check-config works with checker files in which you define checks, ie

# check that .venv is included in the .gitignore
[".gitignore".lines_present]
__lines__ = ".venv"

With check-config you can check (for example in a build pipeline) whether your files passed the checks.

Most checks can also be automatically fixed with check-config --fix, so in this case a missing line will be added to the .gitignore.

A large number of file types and checks are supported or will be supported in the near future.

Documentation

Check out the documentation

Commit count: 55

cargo fmt