Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use red text when printing errors on command line (#649)
* colorama shorthand ANSI sequence for red error text * ignore colorama imports in mypy config file * update tests and authors list * style * gracefully handle colorama not being available * remove colorama import exception handling * moving colorama.init() & remove local colorama bindings * add no-color flag * add no-color test * f-string colorama formatting in helper method * no-color option working for twine check with updated tests * Move --no-color to base command Co-authored-by: Brian Rutledge <brian@bhrutledge.com>
- Loading branch information
1 parent
b1c2191
commit cb7e116
Showing
6 changed files
with
39 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ deps = | |
portend | ||
pytest-services | ||
munch | ||
colorama | ||
passenv = | ||
PYTEST_ADDOPTS | ||
commands = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters