10 unstable releases (3 breaking)

new 0.6.1 Jan 10, 2025
0.6.0 Jan 10, 2025
0.5.1 Jan 8, 2025
0.4.1 Jan 4, 2025
0.3.2 Aug 25, 2023

#215 in Configuration

Download history 17/week @ 2024-09-25 2/week @ 2024-10-09 1/week @ 2024-10-16 1/week @ 2024-10-30 1/week @ 2024-11-06 3/week @ 2024-12-11 127/week @ 2025-01-01 545/week @ 2025-01-08

672 downloads per month

MIT license

86KB
2.5K 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

~13–31MB
~523K SLoC