Skip to content

Commit

Permalink
Merge pull request SystemRDL#1 from amykyta3/main
Browse files Browse the repository at this point in the history
Update PeakRDL plugin to use base class
  • Loading branch information
MarekPikula authored Mar 13, 2023
2 parents 2ce92dd + 79261f2 commit f6de6dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages = [
[tool.poetry.dependencies]
python = "^3.7.2"
systemrdl-compiler = "^1.25.0"
peakrdl = { version = "^0.3.0", optional = true }
peakrdl = { version = "^0.7.0", optional = true }
py-markdown-table = "^0.3.3"

[tool.poetry.extras]
Expand Down
4 changes: 3 additions & 1 deletion src/peakrdl_markdown/__peakrdl__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

from typing import TYPE_CHECKING

from peakrdl.plugins.exporter import ExporterSubcommandPlugin #pylint: disable=import-error

from .exporter import MarkdownExporter

if TYPE_CHECKING:
Expand All @@ -13,7 +15,7 @@
from systemrdl.node import AddrmapNode, RootNode # type: ignore


class Exporter: # pylint: disable=too-few-public-methods
class Exporter(ExporterSubcommandPlugin): # pylint: disable=too-few-public-methods
"""PeakRDL Markdown exporter plug-in."""

short_desc = "Generate Markdown documentation"
Expand Down

0 comments on commit f6de6dc

Please sign in to comment.