Dave Pearson
4df597e560
Reformat with black
...
And also run freshly-installed pre-commit hooks (hence ISO8601Highlighter
moving in the import list).
2022-10-11 16:25:22 +01:00
Dave Pearson
59a60f830d
Add a test for __repr__ tag matching with inner tag
2022-10-11 15:50:52 +01:00
Dave Pearson
86ef7d5298
Add a test for __repr__ tag matching with simple content
2022-10-11 15:48:37 +01:00
Tomer Shalev
2707a73435
Add Iso8601Highlighter
...
Add ability to highlight date and time strings according to ISO8601 [1]
[1] https://en.wikipedia.org/wiki/ISO_8601
2022-06-14 15:02:35 +03:00
Olivier Philippon
69003a772c
[highlighter] Fine-tuning on complex numbers pattern matching
2022-04-26 09:17:36 +01:00
Olivier Philippon
5e67e22ba4
[highlighter] Extract more complex numbers pattern matching on its own one, rather than being part of the number
one
2022-04-25 16:57:05 +01:00
Olivier Philippon
f67f426a6b
[highlighter] Add complex numbers pattern to our highlighter's number
matching
2022-04-25 14:51:47 +01:00
Will McGugan
0daccb0768
fix uuid highlighter
2022-03-18 17:17:10 +00:00
Darren Burns
93e584c47c
Add extra JSON highlighting tests
2022-03-08 15:43:35 +00:00
Darren Burns
c9b70864e3
Fix JSON key highlighting when no indentation
2022-03-08 15:21:50 +00:00
Dennis Brakhane
eb6b5ef87a
Add support for enum.Flag in ReprHighlighter
...
enum.Flag allows more than one bit to be set, and its repr will show
something like <Permission.READ|WRITE: 3>.
For this to display correctly, we need to add the pipe symbol to the
tag regex.
2022-02-05 19:12:21 +01:00
Aaron Stephens
5960f54917
chore: fix typos
2022-01-06 22:44:05 -08:00
Will McGugan
a998f23084
replace is_control with list of control codes
2021-03-14 11:47:03 +00:00
Will McGugan
c7ea83d36a
added progress.reset
2020-10-14 10:19:38 +01:00
Will McGugan
fcbbf6902a
make tests
2020-10-12 18:55:59 +01:00
Will McGugan
862d7798ef
scientific notation
2020-10-12 18:52:52 +01:00
Will McGugan
75930e7826
more tests
2020-10-12 18:50:26 +01:00
Will McGugan
82cafb4d5f
more tests
2020-10-12 18:37:26 +01:00
Will McGugan
51074a86c2
highlighter tests
2020-10-12 18:29:29 +01:00
Will McGugan
cd4f00ff34
highlighter tests
2020-10-12 18:28:56 +01:00
Will McGugan
20084da4f8
highlighter optimization
2020-10-12 16:55:52 +01:00
Edward Knight
d47ba3167b
Add tests for EUI-48 and EUI-64 in ReprHighlighter
2020-10-08 20:41:47 +01:00
Will McGugan
c409f9f683
highlighter test
2020-04-26 16:34:55 +01:00