pilosus / pip-license-checker

Check license types for third-party dependencies: permissive, copyleft, proprietory, etc.
https://blog.pilosus.org/posts/2021/09/07/pip-license-checker/
Other
67 stars 3 forks source link

Fix long number parsing in Python package versions #103

Closed pilosus closed 2 years ago

pilosus commented 2 years ago

This is to fix #99 where a checker crashed against graphql-core==1.0.dev20160909030348. 20160909030348 is long that was causing Integer/parseInt to fail.

codecov[bot] commented 2 years ago

Codecov Report

Merging #103 (e92cee9) into main (cd7c2f7) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   94.86%   94.88%   +0.01%     
==========================================
  Files          10       10              
  Lines         896      899       +3     
  Branches       33       33              
==========================================
+ Hits          850      853       +3     
  Misses         13       13              
  Partials       33       33              
Impacted Files Coverage Δ
src/pip_license_checker/version.clj 97.84% <100.00%> (+0.02%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more