You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2015/11/25 19:23:10 UTC
[jira] [Created] (YETUS-208) pylint false-alarm due to "parseable"
output format deprecation
Kengo Seki created YETUS-208:
--------------------------------
Summary: pylint false-alarm due to "parseable" output format deprecation
Key: YETUS-208
URL: https://issues.apache.org/jira/browse/YETUS-208
Project: Yetus
Issue Type: Bug
Components: Test Patch
Reporter: Kengo Seki
Running Pylint 1.6.1 on CentOS 6.7 / Python 2.6.6, it fails as follows:
{code}
[sekikn@localhost yetus]$ precommit/test-patch.sh --build-tool=nobuild --plugins=all --resetrepo YETUS-189
(snip)
| Vote | Subsystem | Runtime | Comment
============================================================================
| 0 | reexec | 0m 0s | Precommit patch detected.
| +1 | @author | 0m 0s | The patch does not contain any @author
| | | | tags.
| -1 | pylint | 0m 1s | Something bad seems to have happened in
| | | | running pylint. Please check pylint
| | | | stderr files.
| +1 | whitespace | 0m 0s | Patch has no whitespace issues.
| | | 0m 20s |
|| Subsystem || Report/Notes ||
============================================================================
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12773519/YETUS-189.00.patch |
| JIRA Issue | YETUS-189 |
| Optional Tests | pylint |
| uname | Linux localhost.localdomain 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 18:01:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | nobuild |
| git revision | master / 9c384b5 |
| pylint | prepatch stderr: /tmp/yetus-4814.16538/pylint.17247.23042 |
| pylint | postpatch stderr: /tmp/yetus-4814.16538/pylint.17247.29492 |
| modules | C: U: |
| Powered by | Apache Yetus http://yetus.apache.org |
{code}
This is because a message about a deprecated option is output to the logfile.
{code}
[sekikn@localhost yetus]$ cat /tmp/yetus-4814.16538/pylint.17247.23042
No config file found, using default configuration
/usr/lib/python2.6/site-packages/pylint/reporters/text.py:79: UserWarning: parseable output format is deprecated. This is equivalent to --msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
'to --msg-template=%s' % (self.name, self.line_format))
[sekikn@localhost yetus]$
{code}
FWIW, this doesn't occur on OS X 10.11.1 / Python 2.7.10 / Pylint 1.4.4.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)