This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients docs@python, eric.araujo, ezio.melotti, georg.brandl
Date 2012-08-22.05:34:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345613663.78.0.519613331574.issue15759@psf.upfronthosting.co.za>
In-reply-to
Content
I was running "make suspicious" in Doc/ and this was the output after finding 3 suspicious markups:

 writing output... [ 52%] library/inspect
 WARNING: [library/inspect:437] ":int" found in ">>> def foo(a, *, b:int, **kwargs):"
 WARNING: [library/inspect:437] ":int" found in "'(a, *, b:int, **kwargs)'"
 WARNING: [library/inspect:437] ":int" found in "'b:int'"
 writing output... [100%] whatsnew/index
 build finished with problems, 3 warnings.
 make: *** [build] Error 1

After figuring out how to mark these as false positives and adding the relevant entries to susp-ignored.csv, I ran "make suspicious" again, and got this useful message at the end:

 writing output... [100%] whatsnew/index
 build succeeded.

 Suspicious check complete; look for any errors in the above output or in build/suspicious /suspicious.csv.  If all issues are false positives, append that file to tools/sphinxext/susp-ignored.csv.

The problem is that this message should be displayed when there are failures, but it's not.

Attached an attempt to fix the Makefile to avoid exiting in case of failures when the builder is "suspicious".  Given that I'm not really familiar with makefiles, it probably doesn't make much sense.
History
Date User Action Args
2012-08-22 05:34:23ezio.melottisetrecipients: + ezio.melotti, georg.brandl, eric.araujo, docs@python
2012-08-22 05:34:23ezio.melottisetmessageid: <1345613663.78.0.519613331574.issue15759@psf.upfronthosting.co.za>
2012-08-22 05:34:22ezio.melottilinkissue15759 messages
2012-08-22 05:34:22ezio.melotticreate