validate_pyproject.types¶
- validate_pyproject.types.FormatValidationFn¶
Should return
Truewhen the input string satisfies the format
- validate_pyproject.types.Plugin¶
A plugin is something that receives the name of a tool sub-table (as defined in PEPPEP621) and returns a
Schema.For example
plugin("setuptools")should return the JSON schema for the[tool.setuptools]table of apyproject.tomlfile.
- validate_pyproject.types.ValidationFn¶
Custom validation function. It should receive as input a mapping corresponding to the whole
pyproject.tomlfile and raise afastjsonschema.JsonSchemaValueExceptionif it is not valid.alias of
Callable[[T],T]