Skip to content

Disallow rev for builtin repos in schema #1963

@injust

Description

@injust
error: Failed to parse `prek.toml`
  caused by: TOML parse error at line 1, column 1
  |
1 | [[repos]]
  | ^^^^^^^^^
`rev` is not allowed for builtin repos

rev can't be used for builtin repos, but the schema allows this. It seems to be pretty strict otherwise, so this should be disallowed in the schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions