(๐) `dmypy` arg parsing is inconsistent and confusing
Open
Nobody has claimed this yet.
bug
topic-daemon
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
๐ dmypy run test.py -- --strict
Daemon started
Success: no issues found in 42 source files
๐ dmypy run test.py --export-types -- --strict
usage: dmypy [-h] [--status-file STATUS_FILE] [-V] {start,restart,status,stop,kill,check,run,recheck,suggest,inspect,hang,daemon,help} ...
dmypy: error: unrecognized arguments: -- --strict
Workaround
Put the files after the --:
๐ dmypy run --export-types -- test.py --strict
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up โ it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the dmypy run command entry point and reproduce both argument arrangements shown in the issue. Trace how options before and after -- are parsed; done means the documented arrangements are handled consistently without the reported unrecognized-arguments error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100