Skip to content

Commit 89cc48d

Browse files
author
jpellerin
committed
Fixes, docs
1 parent 7a11e11 commit 89cc48d

4 files changed

Lines changed: 27 additions & 19 deletions

File tree

‎README.txt‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,18 +104,20 @@ Configuration
104104
-------------
105105

106106
In addition to passing command-line options, you may also put
107-
configuration options in a .noserc or nose.cfg file in your home
108-
directory. These are standard .ini-style config files. Put your
109-
nosetests configuration in a [nosetests] section. Options are the same
110-
as on the command line, with the -- prefix removed. For options that
111-
are simple switches, you must supply a value:
107+
configuration options in your project's *setup.cfg* file, or a .noserc
108+
or nose.cfg file in your home directory. In any of these standard
109+
.ini-style config files, you put your nosetests configuration in a
110+
``[nosetests]`` section. Options are the same as on the command line,
111+
with the -- prefix removed. For options that are simple switches, you
112+
must supply a value:
112113

113114
[nosetests]
114115
verbosity=3
115116
with-doctest=1
116117

117118
All configuration files that are found will be loaded and their
118-
options combined.
119+
options combined. You can override the standard config file loading
120+
with the ``-c`` option.
119121

120122

121123
Using Plugins
@@ -297,7 +299,9 @@ Options
297299
filter out needless output. Example: filter=foo will capture
298300
statements issued ONLY to foo or foo.what.ever.sub but not foobar
299301
or other logger. Specify multiple loggers with comma:
300-
filter=foo,bar,baz. [NOSE_LOGFILTER]
302+
filter=foo,bar,baz. If any logger name is prefixed with a minus, eg
303+
filter=-foo, it will be excluded rather than included. Default:
304+
exclude logging messages from nose itself (-nose). [NOSE_LOGFILTER]
301305

302306
--logging-clear-handlers
303307

‎doc/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<html>
22
<head><title>Redirecting to nose 0.11 docs</title>
3-
<meta http-equiv="refresh" content="0; ./0.11.1/"/>
3+
<meta http-equiv="refresh" content="0; ./0.11.2/"/>
44
</head>
55
<body>
6-
<p>Redirecting to <a href="./0.11.1/">nose 0.11 docs</a></p>
6+
<p>Redirecting to <a href="./0.11.2/">nose 0.11 docs</a></p>
77
</body>
88
</html>

‎nosetests.1‎

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,22 @@ in the options below.
8080

8181
.SS Configuration
8282
In addition to passing command\-line options, you may also put
83-
configuration options in a .noserc or nose.cfg file in your home
84-
directory. These are standard .ini\-style config files. Put your
85-
nosetests configuration in a [nosetests] section. Options are the
86-
same as on the command line, with the \-\- prefix removed. For
87-
options that are simple switches, you must supply a value:
83+
configuration options in your project\'s \fIsetup.cfg\fP file, or a .noserc
84+
or nose.cfg file in your home directory. In any of these standard
85+
.ini\-style config files, you put your nosetests configuration in a
86+
\fB[nosetests]\fP section. Options are the same as on the command line,
87+
with the \-\- prefix removed. For options that are simple switches, you
88+
must supply a value:
8889

8990

9091
.nf
9192
[nosetests]
9293
verbosity=3
9394
with\-doctest=1
9495
.fi
95-
All configuration files that are found will be loaded and their options
96-
combined.
96+
All configuration files that are found will be loaded and their
97+
options combined. You can override the standard config file loading
98+
with the \fB\-c\fP option.
9799

98100

99101
.SS Using Plugins
@@ -269,7 +271,9 @@ Specify which statements to filter in/out. By default, everything is captured. I
269271
use this option to filter out needless output.
270272
Example: filter=foo will capture statements issued ONLY to
271273
foo or foo.what.ever.sub but not foobar or other logger.
272-
Specify multiple loggers with comma: filter=foo,bar,baz. [NOSE_LOGFILTER]
274+
Specify multiple loggers with comma: filter=foo,bar,baz.
275+
If any logger name is prefixed with a minus, eg filter=\-foo,
276+
it will be excluded rather than included. Default: exclude logging messages from nose itself (\-nose). [NOSE_LOGFILTER]
273277

274278

275279
.TP
@@ -457,5 +461,5 @@ jpellerin+nose@gmail.com
457461
.SH COPYRIGHT
458462
LGPL
459463

460-
.\" Generated by docutils manpage writer on 2009-05-02 13:40.
464+
.\" Generated by docutils manpage writer on 2010-03-04 18:10.
461465
.\"

‎scripts/mkrelease.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def main():
6060
up = os.environ['NOSE_UPLOAD']
6161
cv = {
6262
'host': up[:up.index(':')],
63-
'path': up[up.index(':')+1:-1],
63+
'path': up[up.index(':')+1:],
6464
'version':version,
6565
'upload': up,
6666
'upload_docs': os.path.join(up, version) }

0 commit comments

Comments
 (0)