typed-argument-parser icon indicating copy to clipboard operation
typed-argument-parser copied to clipboard

Allow single-quoted doc strings

Open phiresky opened this issue 2 years ago • 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 ;)

phiresky avatar Apr 02 '22 11:04 phiresky