5 releases
0.4.0 | Sep 11, 2023 |
---|---|
0.3.5 | Sep 1, 2023 |
0.3.4 | Sep 1, 2023 |
0.3.3 | Sep 1, 2023 |
0.3.2 | Aug 25, 2023 |
#989 in Configuration
76KB
2K
SLoC
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
Dependencies
~9–23MB
~308K SLoC