-
Notifications
You must be signed in to change notification settings - Fork 30
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
global: uniform __future__ imports #108
global: uniform __future__ imports #108
Conversation
edb7b27
to
154e3b0
Compare
154e3b0
to
b8dc5cc
Compare
b8dc5cc
to
8ca5da2
Compare
7012b6e
to
58e6747
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one little thing, also rebase :)
hepcrawl/pipelines.py
Outdated
import datetime | ||
import json | ||
import os | ||
|
||
import requests | ||
|
||
from crawler2hep import crawler2hep | ||
from hepcrawl.crawler2hep import crawler2hep |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from .crawler2hep import crawler2hep
^ that means that it's importing from the current package, whatever the name of it is, the other, always imports from an 'installed' package called hepcrawl.
* Adds: uniform `__future__` imports. * Adds: update copyright year. * Removes: unused imports Closes inspirehep#103 Signed-off-by: Spiros Delviniotis <[email protected]>
58e6747
to
b3126a8
Compare
@david-caro Ready! 💃 |
import os | ||
|
||
import requests | ||
|
||
from crawler2hep import crawler2hep | ||
|
||
from .utils import get_temporary_file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we left this when we removed the JsonWriter pipeline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap!
__future__
imports.Closes #103
Signed-off-by: Spiros Delviniotis [email protected]