Skip to content

Commit

Permalink
fixup! 📝💅 Split trivial change log category into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jun 21, 2024
1 parent 36fda08 commit bea6522
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,41 @@ repos:
- id: changelogs-rst
name: changelog filenames
language: fail
entry: 'changelog files must be named ####.(breaking|bugfix|contrib|deprecation|doc|feature|improvement|misc|packaging|vendor).rst'
exclude: changelog/(\d+\.(breaking|bugfix|contrib|deprecation|doc|feature|improvement|misc|packaging|vendor).rst|README.rst|_template.rst)
entry: >-
changelog files must be named
####.(
breaking
| deprecation
| feature
| improvement
| bugfix
| vendor
| doc
| packaging
| contrib
| misc
)(.#)?(.rst)?
exclude: >-
(?x)
^
changelog/(
\.gitignore
|\d+\.(
breaking
|deprecation
|feature
|improvement
|bugfix
|vendor
|doc
|packaging
|contrib
|misc
)(\.\d+)?(\.rst)?
|README\.rst
|_template\.rst
)
$
files: ^changelog/
- id: py-deprecated
name: py library is deprecated
Expand Down

0 comments on commit bea6522

Please sign in to comment.