-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove ansi2html. #2721
Remove ansi2html. #2721
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ flake8==3.9.2 | |
flaky==3.7.0 | ||
flask-talisman==1.0.0 | ||
isort==4.3.21;python_version<"3.7" | ||
mimesis | ||
mimesis<=11.1.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NBD since this is only in requires-ci, but why is this lock needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The latest version introduced a union type like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK yeah weird:
but even v12.1.0 says
Wonder why they didn't just bake that first statement into the |
||
mock==4.0.3 | ||
numpy<=1.25.2 | ||
orjson==3.5.4;python_version<"3.7" | ||
|
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.
So the comment above:
Is no longer true for some reason? Does worry me a little that maybe in some cases the color will creep in and lead to ugly junk in the output. I wonder if instead of
FormattedTB
we could use something simpler liketraceback.format_exception
?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.
My bad, I didn't see the color, without
dev_tools_prune_errors=False
I only had one line and the color was dark red, in the devtools error had the escaped ansi symbols.There is a NoColor mode that should do.