Commit edc9f67b by Sébastien Eustace

Add plugins to JSON schema

parent 2d99b34b
...@@ -138,6 +138,20 @@ ...@@ -138,6 +138,20 @@
"items": { "items": {
"type": "string" "type": "string"
} }
},
"plugins": {
"type": "object",
"description": "A hash of hashes representing plugins",
"patternProperties": {
"^[a-zA-Z-_.0-9]+$": {
"type": "object",
"patternProperties": {
"^[a-zA-Z-_.0-9]+$": {
"type": "string"
}
}
}
}
} }
}, },
"definitions": { "definitions": {
......
...@@ -43,3 +43,7 @@ pytest = "~3.4" ...@@ -43,3 +43,7 @@ pytest = "~3.4"
[tool.poetry.scripts] [tool.poetry.scripts]
my-script = "my_package:main" my-script = "my_package:main"
[tool.poetry.plugins."blogtool.parsers"]
".rst" = "some_module::SomeClass"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment