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

Respect default value #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

burnpanck
Copy link

Currently, if a default value is supplied using the keyword argument default, it is silently ignored. Furthermore, standard traitlets take a default value using the keyword argument default_value. The latter is now forwarded to traitlets, while the former is made a deprecated alias.

@astrofrog
Copy link
Owner

@burnpanck - can you rebase on the latest master and push to this branch again? I had to fix some issues with Travis in #18 - thanks!

@burnpanck
Copy link
Author

burnpanck commented Jun 22, 2016

Ugh, coverage dropped, because there is now a deprecated default which before did not do anything but now does, and the traitlets standard default_value. The warnings for the deprecation of default are not tested... I see you had 100 % coverage before, so I assume you do care for a test there to recover the coverage?

@burnpanck
Copy link
Author

Oh, and I see #13 also solves the same issue just without a deprecated default, and has the tests and the coverage! Only the documentation is missing to remove the WIP tag there, so I'd suggest to merge @bluescarni 's PR instead.

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