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

Avoid redefining future.utils.text_type #786

Merged
merged 2 commits into from
Apr 23, 2019
Merged

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Apr 21, 2019

Description:

  • ...

Checklist:

  • My PR is ready for code review
  • I have added some tests, if applicable, and run the whole test suite, including linting tests
  • I have updated the documentation, if applicable

Copy link
Contributor

@adrienball adrienball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good except a small import optimization detail.
Thanks !

@@ -10,7 +10,7 @@

import numpy as np
import pkg_resources
from future.utils import PY3
from future.utils import PY3, text_type
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the PY3 import as it is no longer required?

@codecov-io
Copy link

Codecov Report

Merging #786 into develop will decrease coverage by 0.05%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##           develop     #786      +/-   ##
===========================================
- Coverage    88.23%   88.17%   -0.06%     
===========================================
  Files           76       76              
  Lines         4537     4534       -3     
  Branches       868      867       -1     
===========================================
- Hits          4003     3998       -5     
- Misses         400      401       +1     
- Partials       134      135       +1

@adrienball adrienball merged commit 87b1387 into snipsco:develop Apr 23, 2019
@cclauss cclauss deleted the patch-1 branch April 23, 2019 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants