Пример #1
0
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="bad-next-line",
         plugin_id="MDE003",
         plugin_enabled_by_default=True,
         plugin_description="Plugin that has a bad next_line function.",
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
Пример #2
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="debug-only",
         plugin_id="MD999",
         plugin_enabled_by_default=False,
         plugin_description="Debug plugin",
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
Пример #3
0
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="debug.only",
         plugin_id="MD990",
         plugin_enabled_by_default=True,
         plugin_description="Copy of debug plugin",
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
Пример #4
0
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="bad-starting-new-file",
         plugin_id="MDE002",
         plugin_enabled_by_default=True,
         plugin_description="Plugin that has a bad completed_file function.",
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
Пример #5
0
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="bad-constructor",
         plugin_id="MDE004",
         plugin_enabled_by_default=True,
         plugin_description="Plugin that has a bad constructor function.",
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="bad-semantic-version",
         plugin_id="MDE007",
         plugin_enabled_by_default=True,
         plugin_description="Test for a bad semantic version",
         plugin_version="0.0.0-alpha",
         plugin_interface_version=1,
     )
Пример #7
0
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="bad-description",
         plugin_id="MDE007",
         plugin_enabled_by_default=True,
         plugin_description=None,
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="bad-boolean-detail-is-int",
         plugin_id="MDE005",
         plugin_enabled_by_default=123,
         plugin_description="Plugin that has a bad boolean detail.",
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
Пример #9
0
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="bad-int-detail-is-string",
         plugin_id="MDE005",
         plugin_enabled_by_default=True,
         plugin_description="Plugin that has a bad integer detail.",
         plugin_version="0.0.0",
         plugin_interface_version="I am a string",
     )
Пример #10
0
 def get_details(self):
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="class-name-mismatch",
         plugin_id="MD997",
         plugin_enabled_by_default=True,
         plugin_description=
         "Plugin that has a mismatch between the module name and the class name.",
         plugin_version="0.0.0",
         plugin_interface_version=1,
     )
Пример #11
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-blanks-blockquote",
         plugin_id="MD028",
         plugin_enabled_by_default=True,
         plugin_description="Blank line inside blockquote",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url="https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md028.md",
     )
Пример #12
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-alt-text",
         plugin_id="MD045",
         plugin_enabled_by_default=True,
         plugin_description="Images should have alternate text (alt text)",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url="https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md045.md",
     )
Пример #13
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="ul-start-left",
         plugin_id="MD006",
         plugin_enabled_by_default=False,
         plugin_description="Consider starting bulleted lists at the beginning of the line",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url="https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md006.md",
     )
Пример #14
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-reversed-links",
         plugin_id="MD011",
         plugin_enabled_by_default=True,
         plugin_description="Reversed link syntax",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md011.md",
     )
Пример #15
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-bare-urls",
         plugin_id="MD034",
         plugin_enabled_by_default=True,
         plugin_description="Bare URL used",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md034.md",
     )
Пример #16
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="blanks-around-lists",
         plugin_id="MD032",
         plugin_enabled_by_default=True,
         plugin_description="Lists should be surrounded by blank lines",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md032.md",
     )
Пример #17
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-space-in-emphasis",
         plugin_id="MD037",
         plugin_enabled_by_default=True,
         plugin_description="Spaces inside emphasis markers",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md037.md",
     )
Пример #18
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-inline-html",
         plugin_id="MD033",
         plugin_enabled_by_default=True,
         plugin_description="Inline HTML",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url="https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md033.md",
         plugin_configuration="allowed_elements, allow_first_image_element",
     )
Пример #19
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="hr-style",
         plugin_id="MD035",
         plugin_enabled_by_default=True,
         plugin_description="Horizontal rule style",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url="https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md035.md",
         plugin_configuration="style",
     )
Пример #20
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-multiple-space-blockquote",
         plugin_id="MD027",
         plugin_enabled_by_default=True,
         plugin_description="Multiple spaces after blockquote symbol",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md027.md",
     )
Пример #21
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="commands-show-output",
         plugin_id="MD014",
         plugin_enabled_by_default=True,
         plugin_description=
         "Dollar signs used before commands without showing output",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md014.md",
     )
Пример #22
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-trailing-punctuation",
         plugin_id="MD026",
         plugin_enabled_by_default=True,
         plugin_description="Trailing punctuation present in heading text.",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md026.md",
         plugin_configuration="punctuation",
     )
Пример #23
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="list-indent",
         plugin_id="MD005",
         plugin_enabled_by_default=True,
         plugin_description=
         "Inconsistent indentation for list items at the same level",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md005.md",
     )
Пример #24
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-multiple-space-atx",
         plugin_id="MD019",
         plugin_enabled_by_default=True,
         plugin_description=
         "Multiple spaces are present after hash character on Atx Heading.",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md019.md",
     )
Пример #25
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-hard-tabs",
         plugin_id="MD010",
         plugin_enabled_by_default=True,
         plugin_description="Hard tabs",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md010.md",
         plugin_configuration="code_blocks",
     )
Пример #26
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="required-headings,required-headers",
         plugin_id="MD043",
         plugin_enabled_by_default=True,
         plugin_description="Required heading structure",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md043.md",
         plugin_configuration="headings",
     )
Пример #27
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-missing-space-closed-atx",
         plugin_id="MD020",
         plugin_enabled_by_default=True,
         plugin_description=
         "No space present inside of the hashes on a possible Atx Closed Heading.",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md020.md",
     )
Пример #28
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="ul-indent",
         plugin_id="MD007",
         plugin_enabled_by_default=True,
         plugin_description="Unordered list indentation",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md007.md",
         plugin_configuration="indent,start_indented",
     )
Пример #29
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="blanks-around-headings,blanks-around-headers",
         plugin_id="MD022",
         plugin_enabled_by_default=True,
         plugin_description="Headings should be surrounded by blank lines.",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md022.md",
         plugin_configuration="lines_above, lines_below",
     )
Пример #30
0
 def get_details(self) -> PluginDetails:
     """
     Get the details for the plugin.
     """
     return PluginDetails(
         plugin_name="no-trailing-spaces",
         plugin_id="MD009",
         plugin_enabled_by_default=True,
         plugin_description="Trailing spaces",
         plugin_version="0.5.0",
         plugin_interface_version=1,
         plugin_url=
         "https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md009.md",
         plugin_configuration="br_spaces,list_item_empty_lines,strict",
     )