parmentelat / nbautoeval

Other
19 stars 4 forks source link

simple exos on class should be doable without a repr() #9

Closed parmentelat closed 4 years ago

parmentelat commented 4 years ago

at the early stages of a course students have no idea how to write a __repr__() method
one such intro exo was online in flotpython/course and with recent changes here, students have to write their __repr__ if they want all green columns

is there a way to flag a classexercise instance as being 'simple' and then check it without the need for comparing 'repr()', like we used on this one exo at least ?