-
Notifications
You must be signed in to change notification settings - Fork 53
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
ENH Card class: add repr and str methods #68
ENH Card class: add repr and str methods #68
Conversation
Solves #59 We decided that the "eval(repr(card)) == card" property is not necessary for our purposes.
Also: Ignore convergence warning
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.
Awesome!
pyproject.toml
Outdated
@@ -10,6 +10,7 @@ profile = "black" | |||
filterwarnings = [ | |||
"error::DeprecationWarning", | |||
"error::FutureWarning", | |||
"ignore::sklearn.exceptions.ConvergenceWarning", |
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.
I wouldn't add this here, it's quite a bad one to completely ignore I'd say.
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.
I reverted it.
This is just in case that aRepr is a singleton that affects other code.
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.
This looks quite good to me. I'll let @merveenoyan also have a look before merging.
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.
Thanks a lot for tackling this, LGTM
Solves #59
We decided not to follow the
eval(repr(card)) == card
convention, as it wouldn't work here.