Skip to content

Commit

Permalink
[packaging] Add pyroma to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Dec 8, 2022
1 parent 3321b6b commit 79ae0d3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,16 @@ repos:
files: ".md|.yml|.yaml"
args: [--prose-wrap=always, --print-width=88]
exclude: tests(/\w*)*data/
- repo: https://github.com/regebro/pyroma
rev: "4.1"
hooks:
- id: pyroma
# Must be specified because of the default value in pyroma
always_run: false
additional_dependencies:
- poetry
files: |
(?x)^(
README.rst|
pyproject.toml|
)$
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "prospector"
version = "1.8.3"
description = ""
description = "Prospector is a tool to analyse Python code by aggregating the result of other tools."
authors = ["Carl Crowder <git@carlcrowder.com>"]
maintainers = ["Carl Crowder <git@carlcrowder.com>",
"Carlos Coelho <carlospecter@gmail.com>",
Expand All @@ -10,7 +10,7 @@ readme = "README.rst"
homepage = "http://prospector.readthedocs.io"
repository = "https://github.com/PyCQA/prospector"
keywords = ["pylint", "prospector", "static code analysis"]
license = "GPLv2"
license = "GPLv2+"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand Down

0 comments on commit 79ae0d3

Please sign in to comment.