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

Database and crawler code clean up #17

Conversation

GuilloOme
Copy link
Contributor

I did some clean up and add comment and unittest before starting on adding #16 feature.
I propose here the refactoring so the next PR will be shorter… ;)

  • unittest database.py at 88% (only the print(exception) are not tested)
  • fix almost all the PEP8 error
  • comment and document the main piece of code
  • make a distinction between private and/or static method

(I recommend you to review it commit per commit instead of "in one big chuck")

@GuilloOme
Copy link
Contributor Author

GuilloOme commented Feb 10, 2017

I have the rest of the fix for #16 waiting this one to be merge. I will propose a PR as soon as this one is merge. see: https://github.com/delvelabs/htcap/tree/db-reuse-feature
Thanks,

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