From 6a24895bd96448185ae62e9379e08321e4c88e9c Mon Sep 17 00:00:00 2001 From: phil65 Date: Sat, 21 Oct 2023 15:10:40 +0200 Subject: [PATCH] chore: add argperser_path to pyproject --- mknodes/info/pyproject.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mknodes/info/pyproject.py b/mknodes/info/pyproject.py index 166b2036..6ab8bad0 100644 --- a/mknodes/info/pyproject.py +++ b/mknodes/info/pyproject.py @@ -91,6 +91,11 @@ def docstring_style(self) -> str | None: """Return the style used for docstring.""" return self.mknodes_section.get("docstring-style") + @property + def argparser_path(self) -> str | None: + """Return path to an ArgumentParser, used for documenting the CLI.""" + return self.mknodes_section.get("argparser-path") + @property def line_length(self) -> int | None: # sourcery skip: assign-if-exp, reintroduce-else