- Update to 0.4.0
* Check that sys.stdout object has isatty attribute in addition to it
being True
+ If using a custom object that does not have the isatty attribute and
you would still like color, you can set the CLINT_FORCE_COLOR environment
variable
* Explicitly set incoming parameter to crayons to string (so that len, etc.
work as expected)
- Drop LICENSE as a separate source, now included in the upstream tarball.
OBS-URL: https://build.opensuse.org/request/show/860570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-crayons?expand=0&rev=5
* Check that sys.stdout object has isatty attribute in addition to it
being True
+ If using a custom object that does not have the isatty attribute and
you would still like color, you can set the CLINT_FORCE_COLOR environment
variable
* Explicitly set incoming parameter to crayons to string (so that len, etc.
work as expected)
- Drop LICENSE as a separate source, now included in the upstream tarball.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crayons?expand=0&rev=9
- Update to 0.3.0
* Rewrites clean to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string)
* Adds random function to get a random color (thanks @azillion)
* Adds replace_color function to allow setting replacement for a given color (e.g. replace blue with magneta) (thanks @frostming)
* Adds reset_replace_color to reset any replacement colors set
- Update URL in the spec to be correct
- Write a description
OBS-URL: https://build.opensuse.org/request/show/778646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-crayons?expand=0&rev=4
* Rewrites clean to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string)
* Adds random function to get a random color (thanks @azillion)
* Adds replace_color function to allow setting replacement for a given color (e.g. replace blue with magneta) (thanks @frostming)
* Adds reset_replace_color to reset any replacement colors set
- Update URL in the spec to be correct
- Write a description
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crayons?expand=0&rev=7