pip-requirements-parser icon indicating copy to clipboard operation
pip-requirements-parser copied to clipboard

line_number property typed to Optional[str]

Open whardier opened this issue 3 years ago • 1 comments

https://github.com/nexB/pip-requirements-parser/blob/0da228a3229dfb0074dad202e3dc7f9cf4103a23/src/pip_requirements_parser.py#L420

Also please add a py.typed to your distribution. I believe it is all 100% typed and mypy thinks otherwise since this is missing.

PR #9

whardier avatar Nov 19 '22 21:11 whardier

Also please add a py.typed to your distribution. I believe it is all 100% typed and mypy thinks otherwise since this is missing.

What's the catch if any? And if there is none, what need to be done to validate this? PR is mucho welcomed.

pombredanne avatar Nov 20 '22 18:11 pombredanne