Skip to content

Commit b941fdf

Browse files
[pre-commit] Add pyroma to the configuration
1 parent b375bb2 commit b941fdf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,17 @@ repos:
132132
exclude: *fixtures
133133
args: ["--max-summary-lines=2", "--linewrap-full-docstring"]
134134
files: "pylint"
135+
- repo: https://github.com/regebro/pyroma
136+
rev: "4.1"
137+
hooks:
138+
- id: pyroma
139+
# Must be specified because of the default value in pyroma
140+
always_run: false
141+
files: |
142+
(?x)^(
143+
README.rst|
144+
pyproject.toml|
145+
pylint/__init__.py|
146+
pylint/__pkginfo__.py|
147+
setup.cfg
148+
)$

0 commit comments

Comments
 (0)