Message168842
| 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:23 | ezio.melotti | set | recipients:
+ ezio.melotti, georg.brandl, eric.araujo, docs@python |
| 2012年08月22日 05:34:23 | ezio.melotti | set | messageid: <1345613663.78.0.519613331574.issue15759@psf.upfronthosting.co.za> |
| 2012年08月22日 05:34:22 | ezio.melotti | link | issue15759 messages |
| 2012年08月22日 05:34:22 | ezio.melotti | create |
|