-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add source "hackernews" #286
Conversation
Ah, this is likely failing because dogsheep is such a new module, the module isn't included on the release on pypi (which CI here installs from) I think @karlicoss usually resolves this by doing a new rolling release on HPI, so CI here works properly |
Also, could you add this line to the top |
908455a
to
fc6254e
Compare
Done |
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.
hey @telotortium , thanks for the contribution! Sorry just got to check this out.
Agree it would be better to rename this to hackernews.py
instead. Maybe we'll have a dogsheep
module one day, but it'd probably need to talk to Dogsheep directly instead and be more or less service agnostic (this one is just reusing Dogsheep code for data retrieval)
l also left a few comments -- fairly minor, and I'm happy to merge as it is, but if you have some time to fix, would be grateful!
Also yeah @seanbreckenridge is right about the CI failing -- I've released a new HPI version and rerun. Would be nice to solve it somehow so it works against master as well, but going to be tedious... P.S. it still fails with mypy issues -- so @telotortium let me know if you need help resolving
fc6254e
to
22c529a
Compare
22c529a
to
632d557
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.
Please review and approve.
Now that you pointed out how |
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.
Looks good, thanks!
CI failed with mypy, I suggested a change that should help. Btw here's how you can run type checks locally https://github.com/karlicoss/promnesia/blob/master/doc/DEVELOPMENT.org#running-tests--mypy-checks
Also some errors are irrelevant (related to fbmessengerexport/twitter), not sure how it happened, but not your fault -- I'll take a look at the meantime
632d557
to
d620360
Compare
thanks for your work & fixes! |
Uses the dogsheep module from HPI
Fix karlicoss/HPI#222