Skip to content

Give friendlier errors for file validation issues #662

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
e.g. an empty .pre-commit-config.yaml file will give a full stack trace.

Summary of desired enhancement
Give a more helpful error message to wrap pydantic validation errors associated with file schema validation

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions