Skip to content

STYLE use types_or in pre-commit #38022

Closed
@MarcoGorelli

Description

@MarcoGorelli

pre-commit 2.9 adds support for types_or, which would help clear up some of the less readable regexes like \.(py|pyx|rst)$, replacing them with types_or: [python, cython, rst]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions