Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop to master #347

Merged
merged 5 commits into from
Feb 28, 2020
Merged

Merge develop to master #347

merged 5 commits into from
Feb 28, 2020

Conversation

razasayed
Copy link
Contributor

@razasayed razasayed commented Feb 27, 2020

Py2-3 import compatibility changes

razasayed and others added 5 commits February 25, 2020 14:12
filter returns a lazy iterable object in python 3. Can use list() to convert the result to a list but i think using list comprehension here is more idiomatic.
Python 3 has urllib.request and python 2 has urllib. Hence using six.moves.urllib to make the code compatible with both 2 and 3. Also six.text_type evaluates to unicode() for python 2 and str for python 3.
2nd set of python 2 and 3 compatible changes
@srajdev
Copy link
Contributor

srajdev commented Feb 27, 2020

👍 No lint errors found.

@chiragjn
Copy link
Contributor

retest this please

@codecov
Copy link

codecov bot commented Feb 28, 2020

Codecov Report

Merging #347 into master will increase coverage by 0.13%.
The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #347      +/-   ##
==========================================
+ Coverage   68.16%   68.29%   +0.13%     
==========================================
  Files          65       65              
  Lines        4859     4880      +21     
==========================================
+ Hits         3312     3333      +21     
  Misses       1547     1547
Impacted Files Coverage Δ
...ral/number_range/standard_number_range_detector.py 90.42% <ø> (ø) ⬆️
ner_v2/detectors/numeral/utils.py 100% <100%> (ø) ⬆️
ner_v2/detectors/utils.py 100% <100%> (ø) ⬆️
...v2/detectors/numeral/number/en/number_detection.py 60% <100%> (+2.1%) ⬆️
models/crf/output_generation/date.py 11.62% <100%> (+2.1%) ⬆️
ner_v2/detectors/temporal/utils.py 45.87% <100%> (+0.5%) ⬆️
lib/nlp/pos.py 82.85% <100%> (+0.5%) ⬆️
models/crf/models.py 38.88% <100%> (+3.59%) ⬆️
ner_v1/detectors/textual/name/name_detection.py 86.17% <100%> (+0.06%) ⬆️
...er_v1/detectors/numeral/budget/budget_detection.py 84.27% <100%> (+0.09%) ⬆️
... and 13 more

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 9ec72ba...06364c5. Read the comment docs.

@chiragjn chiragjn merged commit 5d697bd into master Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants