swansonk14/typed-argument-parser

Allow single-quoted doc strings

phiresky opened this issue · 0 comments

class Args(Tap):
    db: Path
    "database file"

does not seem to take the string "database file" as the doc string for db. With """database file""" it works. According to https://peps.python.org/pep-0257/ this syntax should work and it's also recognized by VSCode and other tooling ;)