brettcannon / caniusepython3

Can I Use Python 3?
Apache License 2.0
412 stars 64 forks source link

Requirements files containing the new --hash syntax cannot be checked #216

Open EmilStenstrom opened 5 years ago

EmilStenstrom commented 5 years ago

When running a check against a requirements file with --hash syntax in them, I get warnings about skipped lines. If the --hash is on the same line as a dependency, the package is skipped.

Originally reported: https://github.com/caniusepython3/caniusepython3.com/issues/49

Suggestion: Detect those lines with a regex and remove them before checking.