Skip to content

Cope with empty .pre-commit-config.yaml files #663

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
Technically these are invalid, but we should be able to basically treat them like they don't exist. I can foresee a user deciding to just clear out the file, expecting that usethis will be able to populate it from scratch

Summary of desired enhancement
Cope with empty .pre-commit-config.yaml files

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions