From 4ebab8889cc8546bf19bbd2981b2231547b45757 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Mon, 3 Jul 2017 15:04:46 -0400 Subject: Add screenshot to front page Also: - Updated pythong_scripting.py example to show how to colorize text - Updated contributing.md to show how to run code coverage in parallel using python-xdist and -nauto - Updated contributing.md to talk more about looking at unit test results within the PR --- examples/python_scripting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/python_scripting.py') diff --git a/examples/python_scripting.py b/examples/python_scripting.py index a0d36e36..ae04fda1 100755 --- a/examples/python_scripting.py +++ b/examples/python_scripting.py @@ -36,7 +36,7 @@ class CmdLineApp(Cmd): def _set_prompt(self): """Set prompt so it displays the current working directory.""" self.cwd = os.getcwd() - self.prompt = '{!r} $ '.format(self.cwd) + self.prompt = self.colorize('{!r} $ '.format(self.cwd), 'cyan') def postcmd(self, stop, line): """Hook method executed just after a command dispatch is finished. -- cgit v1.2.1