Skip to content

Inline comment docstrings don't work with complex assingments #1

@stllfe

Description

@stllfe
with script:
  dataset = ",".join(SHARDS)  # comma-separated datasets
  num_shards = -1  # how many shards to download from the dataset

generates this help:

╭─ options ────────────────────────────────────────────────────────────────────────────╮
│ -h, --help              show this help message and exit                              │
│ -c PATH, --with PATH    path to a python config file to load (default: no overrides) │
│ --dataset STR           (default: webinars2)                                         │
│ --num-shards INT        how many shards to download from the dataset (default: -1)   │
╰──────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions