Skip to main content

modelbit validate

Checks the current checkout for potential errors and issues, like missing a within a deployment's directory. These validations are also run during git commit as a pre-commit hook.

The validate command must be called within the repository directory created with modelbit clone.


Validate your workspace

modelbit validate

Output will look like the following:

Validating deployments...
✅ example_deployment
✅ doubler_number
✅ predict_credit
❌ segment_sentences: Error in metadata.yaml: "runtimeInfo.pythonVersion" is required

See also