14
0
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:
Michal Čihař
2015-03-12 09:26:01 +00:00
committed by Git OBS Bridge
parent f7265cea79
commit d634419257
4 changed files with 46 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e383060edd432cbbd0e8bd686f5facfe918047ffe1bb401ab5897cb6ee0f030
size 338636

3
pylint-1.4.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f8bac8952d3a4008e14f7ec92e5a5ebca37069c7183aa430dff6ddcc22fcae4
size 342540

View File

@@ -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 Wed Feb 18 12:11:39 UTC 2015 - mcihar@suse.cz

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pylint # spec file for package python-pylint
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define modname pylint %define modname pylint
Name: python-%{modname} Name: python-%{modname}
Version: 1.4.1 Version: 1.4.2
Release: 0 Release: 0
Summary: Syntax and style checker for Python code Summary: Syntax and style checker for Python code
License: GPL-2.0+ License: GPL-2.0+