-
Notifications
You must be signed in to change notification settings - Fork 85
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
Rename NoneTrait to make it private #1107
Conversation
@@ -3810,7 +3810,7 @@ def as_ctrait(self): | |||
return self.trait_maker.as_ctrait() | |||
|
|||
|
|||
class NoneTrait(TraitType): | |||
class _NoneTrait(TraitType): |
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 maybe take the opportunity to note in the docstring that this is primarily for use in the Either
implementation?
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.
Gah. Union
, not Either
, of course.
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.
👍 Yes it would!
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #1107 +/- ##
==========================================
- Coverage 76.15% 74.21% -1.95%
==========================================
Files 54 78 +24
Lines 6493 8469 +1976
Branches 1263 1610 +347
==========================================
+ Hits 4945 6285 +1340
- Misses 1205 1806 +601
- Partials 343 378 +35
Continue to review full report at Codecov.
|
Appveyor build is complaining about connection to packages.enthought.com, restarting to see if this is a temporary network problem... |
Closes #1105
Checklist
Testsdocs/source/traits_api_reference
): autodoc handles that.Update User manual (: never mentioneddocs/source/traits_user_manual
)traits-stubs
~