-
Notifications
You must be signed in to change notification settings - Fork 101
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
Feature/issue 104 #105
Feature/issue 104 #105
Conversation
magniff
commented
Jan 9, 2019
•
edited
edited
- Migrate to project structure, proposed at issue-104
- Tune up .travis config a bit.
Codecov Report
@@ Coverage Diff @@
## master #105 +/- ##
===========================================
- Coverage 57.19% 46.04% -11.15%
===========================================
Files 53 42 -11
Lines 1668 1303 -365
===========================================
- Hits 954 600 -354
+ Misses 714 703 -11
Continue to review full report at Codecov.
|
Ok, everything seems to be fine. Apparently pylint ignore path option is still broken, according to this issue pylint-dev/pylint#2541 |
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.
Really nice PR, thanks for this. Just two small things (primarily waiting for #106) and then LGTM. Will also let one of @zixuanzh @alexh @stuckinaboot take a look due to scope.
- pytest --cov=./ -v | ||
- pylint --rcfile=.pylintrc encryption host libp2p network peer stream_muxer transport tests | ||
- pytest --cov=./libp2p tests/ | ||
- pylint --rcfile=.pylintrc libp2p/!(kademlia|protocol_muxer) tests |
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.
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 approved #106
- pip install codecov pytest pytest-cov | ||
- pip install --upgrade pip | ||
- pip install "pytest>=3.6" | ||
- pip install codecov pytest-cov pytest-asyncio pylint |
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.
Could we have these dependencies in setup.py
as well? I can't remember or find docs about why we put them here instead.
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.
IMO the style might be pretty suitable, or even put them in a separate requirements_dev.txt
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.
Ah - so we're trying to distinguish between dependencies pulled in by devs and users. That's a good idea. In that case, I think the py-evm
style works well, or any suitable alternative.
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.
Requirements_dev
is a good option, thumbs up!) I will have a chance to add it only at the late evening, though. Can we merge this code as is and add missing deps in a separate PR or something?
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.
Sure, see #107 for the list of changes to be made to travis.yml
Should be good to go once |