| Crates.io | check-config |
| lib.rs | check-config |
| version | 0.8.6 |
| created_at | 2023-08-25 23:02:47.170354+00 |
| updated_at | 2025-08-31 18:13:41.19312+00 |
| description | Check configuration files. |
| homepage | https://pypi.org/project/check-config/ |
| repository | https://github.com/mrijken/check-config |
| max_upload_size | |
| id | 955100 |
| size | 218,688 |
Keep your development environment consistent, shareable, and version-controlled
check-config is a fast, lightweight, declarative configuration management tool that ensures your configuration files contain exactly what they should. Instead of managing entire config files, you declare specific parts that must be present - making configurations shareable, maintainable, and verifiable.
Define your configuration requirements in simple TOML files, then let check-config ensure they're applied:
# Set your preferred editor
["~/.bashrc".lines_present]
__lines__ = "export EDITOR=hx"
# Ensure git signing is configured
["~/.gitconfig".lines_present]
__lines__ = """
[gpg]
format = ssh
[commit]
gpgsign = true
"""
Run check-config --fix to apply changes, or check-config to verify everything is in sync.
Traditional dotfile repositories force users to adopt entire configuration files. check-config lets you share just the essential parts:
pyproject.tomlEnsure consistent development environments across your team:
# In CI: Verify configurations are up-to-date
check-config
# For developers: Apply required configurations
check-config --fix
Perfect for ensuring tools like Ruff, Black, and ESLint use consistent settings across all developers and CI pipelines.
Combine multiple configuration files to build your complete setup:
check-config supports multiple checker types for different configuration needs:
Make a check-config.toml according your needs:
# Set your preferred editor
["~/.bashrc".lines_present]
__lines__ = "export EDITOR=hx"
And use it:
# Check if configurations match requirements
check-config
# Apply missing configurations
check-config --fix
📖 Full Documentation - Complete guides, examples, and API reference
Declare what you need. Share what matters. Keep everything in sync.