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

global: uniform __future__ imports #108

Conversation

spirosdelviniotis
Copy link
Contributor

  • Adds: uniform __future__ imports.
  • Adds: update copyright year.

Closes #103

Signed-off-by: Spiros Delviniotis [email protected]

Copy link
Contributor

@david-caro david-caro left a 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 :)

import datetime
import json
import os

import requests

from crawler2hep import crawler2hep
from hepcrawl.crawler2hep import crawler2hep
Copy link
Contributor

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]>
@spirosdelviniotis spirosdelviniotis force-pushed the hepcrawl_uniform_future_imports branch from 58e6747 to b3126a8 Compare May 11, 2017 09:19
@spirosdelviniotis
Copy link
Contributor Author

@david-caro Ready! 💃

import os

import requests

from crawler2hep import crawler2hep

from .utils import get_temporary_file
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeap!

@david-caro david-caro merged commit a743ce6 into inspirehep:master May 11, 2017
@spirosdelviniotis spirosdelviniotis deleted the hepcrawl_uniform_future_imports branch May 11, 2017 13:37
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.

2 participants