Show More
@@ -34,7 +34,7 b' jobs:' | |||||
34 | run: | |
|
34 | run: | | |
35 | darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . || ( |
|
35 | darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . || ( | |
36 | echo "Changes need auto-formatting. Run:" |
|
36 | echo "Changes need auto-formatting. Run:" | |
37 | echo " darker -r 60625f241f298b5039cb2debc365db38aa7bb522" |
|
37 | echo " darker -r 60625f241f298b5039cb2debc365db38aa7bb522 ." | |
38 | echo "then commit and push changes to fix." |
|
38 | echo "then commit and push changes to fix." | |
39 | exit 1 |
|
39 | exit 1 | |
40 | ) |
|
40 | ) |
@@ -40,6 +40,9 b' class MagicsDisplay(object):' | |||||
40 | def _repr_pretty_(self, p, cycle): |
|
40 | def _repr_pretty_(self, p, cycle): | |
41 | p.text(self._lsmagic()) |
|
41 | p.text(self._lsmagic()) | |
42 |
|
42 | |||
|
43 | def __repr__(self): | |||
|
44 | return self.__str__() | |||
|
45 | ||||
43 | def __str__(self): |
|
46 | def __str__(self): | |
44 | return self._lsmagic() |
|
47 | return self._lsmagic() | |
45 |
|
48 |
General Comments 0
You need to be logged in to leave comments.
Login now