Unverified Commit edc9f67b authored by Sébastien Eustace's avatar Sébastien Eustace
Browse files

Add plugins to JSON schema

parent 2d99b34b
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -138,6 +138,20 @@
            "items": {
                "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": {
+4 −0
Original line number Diff line number Diff line
@@ -43,3 +43,7 @@ pytest = "~3.4"

[tool.poetry.scripts]
my-script = "my_package:main"


[tool.poetry.plugins."blogtool.parsers"]
".rst" = "some_module::SomeClass"