Skip to content

Commit

Permalink
chore: add argperser_path to pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Oct 21, 2023
1 parent 6fe40ea commit 6a24895
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mknodes/info/pyproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a24895

Please sign in to comment.