validate_pyproject.types
¶
- validate_pyproject.types.FormatValidationFn¶
Should return
True
when 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.toml
file.
- validate_pyproject.types.ValidationFn¶
Custom validation function. It should receive as input a mapping corresponding to the whole
pyproject.toml
file and raise afastjsonschema.JsonSchemaValueException
if it is not valid.alias of
Callable
[[T
],T
]