pyupio / dparse

A parser for Python dependency files
MIT License
61 stars 23 forks source link

Fix DeprecationWarnings for invalid escape sequences #56

Closed ptmcg closed 1 year ago

ptmcg commented 2 years ago

Set all quoted strings in URL_REGEX to raw string literals.

codecov[bot] commented 2 years ago

Codecov Report

Merging #56 (083ffb2) into master (699069e) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage   94.80%   94.81%   +0.01%     
==========================================
  Files          11       11              
  Lines         808      810       +2     
==========================================
+ Hits          766      768       +2     
  Misses         42       42              
Impacted Files Coverage Δ
dparse/regex.py 100.00% <ø> (ø)
dparse/updater.py 87.32% <100.00%> (+0.36%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 699069e...083ffb2. Read the comment docs.

ptmcg commented 2 years ago

PR is failing in setuptools, not sure how to address that.

yeisonvargasf commented 1 year ago

Thank you, @ptmcg, for this PR; we decided to remove the regexes for past security concerns. I'm happy to review and merge any other change you want to add in the future; I'm sorry for this late response.