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
added convenience import #30
Conversation
I'm happy with this change -- I think it makes sense given the scope of this project. The modules are the main components so it makes sense to have them accessible at the root package level. Just fix up the linter error and good from my perspective! |
Awesome.
You'll have to forgive my n00biness... I'm not sure how to read these bot readouts. Is there a doc you could point me to?
Max
…________________________________
From: Jordie Shier <notifications@github.com>
Sent: Friday, January 22, 2021 1:01 PM
To: turian/ddsp-drum <ddsp-drum@noreply.github.com>
Cc: Max Henry <max.henry@mail.mcgill.ca>; Author <author@noreply.github.com>
Subject: Re: [turian/ddsp-drum] added convenience import (#30)
I'm happy with this change -- I think it makes sense given the scope of this project. The modules are the main components so it makes sense to have them accessible at the root package level. Just fix up the linter error and good from my perspective!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#30 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AL2T7TM4MUT3PAYHMK4UKTTS3G4RDANCNFSM4WNGKKDA>.
|
Ah, I see. It's saying
|
Codecov Report
@@ Coverage Diff @@
## main #30 +/- ##
=======================================
Coverage 96.65% 96.66%
=======================================
Files 5 6 +1
Lines 449 450 +1
=======================================
+ Hits 434 435 +1
Misses 15 15
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@jorshi is the pythonic way that init.py just imports the submodules, rather than the things in it? If not, @maxsolomonhenry I think the answer is just to add a pylint disable. But let's see what @jorshi says |
…into module_refactor
I've seen arguments for both having empty |
You can take this or leave it. I've been exploring a bit the python package structure.
in essence, this allows for the example.py import:
from ddspdrum.module import ADSR # etc...
to become:
from ddrpdrum import ADSR # etc...