File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ where `4` should be replaced by the number of parallel threads you wish to run f
274
274
Code coverage can be measured as follows:
275
275
276
276
``` shell
277
- py.test -- cov=cmd2 --cov-report term-missing --cov-report=html
277
+ py.test -nauto -- cov=cmd2 --cov-report= term-missing --cov-report=html
278
278
```
279
279
280
280
Then use your web browser of choice to look at the results which are in ` <cmd2>/htmlcov/index.html ` .
@@ -390,6 +390,14 @@ how to do it.
390
390
391
391
6 . Indicate what local testing you have done (e.g. what OS and version(s) of Python did you run the
392
392
unit test suite with)
393
+
394
+ 7 . Creating the PR causes our continuous integration (CI) systems to automatically run all of the
395
+ unit tests on all supported OSes and all supported versions of Python. You should watch your PR
396
+ to make sure that all unit tests pass on Both TravisCI (Linux) and AppVeyor (Windows).
397
+
398
+ 8 . If any unit tests fail, you should look at the details and fix the failures. You can then push
399
+ the fix to the same branch in your fork and the PR will automatically get updated and the CI system
400
+ will automatically run all of the unit tests again.
393
401
394
402
395
403
### How We Review and Merge Pull Requests
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ applications. It provides a simple API which is an extension of Python's built-
13
13
of cmd to make your life easier and eliminates much of the boilerplate code which would be necessary
14
14
when using cmd.
15
15
16
+ [ ![ Screenshot] ( cmd2.png )] ( https://github.com/python-cmd2/cmd2/blob/master/cmd2.png )
17
+
16
18
17
19
Main Features
18
20
-------------
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def __init__(self):
36
36
def _set_prompt (self ):
37
37
"""Set prompt so it displays the current working directory."""
38
38
self .cwd = os .getcwd ()
39
- self .prompt = '{!r} $ ' .format (self .cwd )
39
+ self .prompt = self . colorize ( '{!r} $ ' .format (self .cwd ), 'cyan' )
40
40
41
41
def postcmd (self , stop , line ):
42
42
"""Hook method executed just after a command dispatch is finished.
You can’t perform that action at this time.
0 commit comments