forked from pool/python-pylint
Accepting request 290392 from home:Nijel:branches:devel:languages:python
- Update to 1.4.2: * Don't require a docstring for empty modules. Closes issue #261. * Fix a false positive with `too-few-format-args` string warning, emitted when the string format contained a normal positional argument ('{0}'), mixed with a positional argument which did an attribute access ('{0.__class__}'). Closes issue #463. * Take in account all the methods from the ancestors when checking for too-few-public-methods. Closes issue #471. * Catch enchant errors and emit 'invalid-characters-in-docstring' when checking for spelling errors. Closes issue #469. * Use all the inferred statements for the super-init-not-called check. Closes issue #389. * Add a new warning, 'unichr-builtin', emitted by the Python 3 porting checker, when the unichr builtin is found. Closes issue #472. * Add a new warning, 'intern-builtin', emitted by the Python 3 porting checker, when the intern builtin is found. Closes issue #473. * Add support for editable installations. * The HTML output accepts the `--msg-template` option. Patch by Dan Goldsmith. * Add 'map-builtin-not-iterating' (replacing 'implicit-map-evaluation'), 'zip-builtin-not-iterating', 'range-builtin-not-iterating', and 'filter-builtin-not-iterating' which are emitted by `--py3k` when the appropriate built-in is not used in an iterating context (semantics taken from 2to3). * Add a new warning, 'unidiomatic-typecheck', emitted when an explicit typecheck uses type() instead of isinstance(). For example, `type(x) == Y` instead of `isinstance(x, Y)`. Patch by Chris Rebert. Closes issue #299. * Add support for combining the Python 3 checker mode with the --jobs OBS-URL: https://build.opensuse.org/request/show/290392 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=60
This commit is contained in:
committed by
Git OBS Bridge
parent
f7265cea79
commit
d634419257
@@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 09:20:31 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
- Update to 1.4.2:
|
||||
* Don't require a docstring for empty modules. Closes issue #261.
|
||||
* Fix a false positive with `too-few-format-args` string warning,
|
||||
emitted when the string format contained a normal positional
|
||||
argument ('{0}'), mixed with a positional argument which did
|
||||
an attribute access ('{0.__class__}').
|
||||
Closes issue #463.
|
||||
* Take in account all the methods from the ancestors
|
||||
when checking for too-few-public-methods. Closes issue #471.
|
||||
* Catch enchant errors and emit 'invalid-characters-in-docstring'
|
||||
when checking for spelling errors. Closes issue #469.
|
||||
* Use all the inferred statements for the super-init-not-called
|
||||
check. Closes issue #389.
|
||||
* Add a new warning, 'unichr-builtin', emitted by the Python 3
|
||||
porting checker, when the unichr builtin is found. Closes issue #472.
|
||||
* Add a new warning, 'intern-builtin', emitted by the Python 3
|
||||
porting checker, when the intern builtin is found. Closes issue #473.
|
||||
* Add support for editable installations.
|
||||
* The HTML output accepts the `--msg-template` option. Patch by
|
||||
Dan Goldsmith.
|
||||
* Add 'map-builtin-not-iterating' (replacing 'implicit-map-evaluation'),
|
||||
'zip-builtin-not-iterating', 'range-builtin-not-iterating', and
|
||||
'filter-builtin-not-iterating' which are emitted by `--py3k` when the
|
||||
appropriate built-in is not used in an iterating context (semantics
|
||||
taken from 2to3).
|
||||
* Add a new warning, 'unidiomatic-typecheck', emitted when an explicit
|
||||
typecheck uses type() instead of isinstance(). For example,
|
||||
`type(x) == Y` instead of `isinstance(x, Y)`. Patch by Chris Rebert.
|
||||
Closes issue #299.
|
||||
* Add support for combining the Python 3 checker mode with the --jobs
|
||||
flag (--py3k and --jobs). Closes issue #467.
|
||||
* Add a new warning for the Python 3 porting checker, 'using-cmp-argument',
|
||||
emitted when the `cmp` argument for the `list.sort` or `sorted builtin`
|
||||
is encountered.
|
||||
* Make the --py3k flag commutative with the -E flag. Also, this patch
|
||||
fixes the leaks of error messages from the Python 3 checker when
|
||||
the errors mode was activated. Closes issue #437.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 18 12:11:39 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
|
Reference in New Issue
Block a user