forked from pool/python-pylint
Accepting request 244311 from home:Nijel:branches:devel:languages:python
- Use zip from pypi as this now the only distribution channel - Add unzip to BuildRequires to above - Adjusted dependencies as pylint 1.3.0 needs atroid 1.2.0 or newer - Update to version 1.3.0 * Allow hanging continued indentation for implicitly concatenated strings. Closes issue #232. * PyLint works under Python 2.5 again, and its test suite passes. * Fix some false positives for the cellvar-from-loop warnings. Closes issue #233. * Return new astroid class nodes when the inferencer can detect that that result of a function invocation on a type (like `type` or `abc.ABCMeta`) is requested. Closes #205. * Emit 'undefined-variable' for undefined names when using the Python 3 `metaclass=` argument. * Checkers respect priority now. Close issue #229. * Fix a false positive regarding W0511. Closes issue #149. * Fix unused-import false positive with Python 3 metaclasses (#143). * Don't warn with 'bad-format-character' when encountering the 'a' format on Python 3. * Add multiple checks for PEP 3101 advanced string formatting: 'bad-format-string', 'missing-format-argument-key', 'unused-format-string-argument', 'format-combined-specification', 'missing-format-attribute' and 'invalid-format-index'. * Issue broad-except and bare-except even if the number of except handlers is different than 1. Fixes issue #113. * Issue attribute-defined-outside-init for all cases, not just for the last assignment. Closes issue #262. * Emit 'not-callable' when calling properties. Closes issue #268. * Fix a false positive with unbalanced iterable unpacking, when encountering starred nodes. Closes issue #273. * Add new checks, 'invalid-slice-index' and 'invalid-sequence-index' OBS-URL: https://build.opensuse.org/request/show/244311 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=56
This commit is contained in:
committed by
Git OBS Bridge
parent
84dcb40a7d
commit
0660d6a5cf
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:63f6b3a1c646b551ff47e898700d16ab309f586bca63065de447fcfa6091ff60
|
||||
size 404162
|
3
pylint-1.3.0.zip
Normal file
3
pylint-1.3.0.zip
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:428fad302eacadec979d267df1ba55047d997a99b26d69624964d2b7412d09be
|
||||
size 467305
|
@@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 12 11:29:31 UTC 2014 - mcihar@suse.cz
|
||||
|
||||
- Adjusted dependencies as pylint 1.3.0 needs atroid 1.2.0 or newer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 14:12:16 UTC 2014 - mcihar@suse.cz
|
||||
|
||||
- Update to version 1.3.0
|
||||
* Allow hanging continued indentation for implicitly concatenated
|
||||
strings. Closes issue #232.
|
||||
* PyLint works under Python 2.5 again, and its test suite passes.
|
||||
* Fix some false positives for the cellvar-from-loop warnings.
|
||||
Closes issue #233.
|
||||
* Return new astroid class nodes when the inferencer can detect that
|
||||
that result of a function invocation on a type (like `type` or
|
||||
`abc.ABCMeta`) is requested. Closes #205.
|
||||
* Emit 'undefined-variable' for undefined names when using the
|
||||
Python 3 `metaclass=` argument.
|
||||
* Checkers respect priority now. Close issue #229.
|
||||
* Fix a false positive regarding W0511. Closes issue #149.
|
||||
* Fix unused-import false positive with Python 3 metaclasses (#143).
|
||||
* Don't warn with 'bad-format-character' when encountering
|
||||
the 'a' format on Python 3.
|
||||
* Add multiple checks for PEP 3101 advanced string formatting:
|
||||
'bad-format-string', 'missing-format-argument-key',
|
||||
'unused-format-string-argument', 'format-combined-specification',
|
||||
'missing-format-attribute' and 'invalid-format-index'.
|
||||
* Issue broad-except and bare-except even if the number
|
||||
of except handlers is different than 1. Fixes issue #113.
|
||||
* Issue attribute-defined-outside-init for all cases, not just
|
||||
for the last assignment. Closes issue #262.
|
||||
* Emit 'not-callable' when calling properties. Closes issue #268.
|
||||
* Fix a false positive with unbalanced iterable unpacking,
|
||||
when encountering starred nodes. Closes issue #273.
|
||||
* Add new checks, 'invalid-slice-index' and 'invalid-sequence-index'
|
||||
for invalid sequence and slice indices.
|
||||
* Add 'assigning-non-slot' warning, which detects assignments to
|
||||
attributes not defined in slots.
|
||||
* Don't emit 'no-name-in-module' for ignored modules.
|
||||
Closes issue #223.
|
||||
* Fix an 'unused-variable' false positive, where the variable is
|
||||
assigned through an import. Closes issue #196.
|
||||
* Definition order is considered for classes, function arguments
|
||||
and annotations. Closes issue #257.
|
||||
* Don't emit 'unused-variable' when assigning to a nonlocal.
|
||||
Closes issue #275.
|
||||
* Do not let ImportError propagate from the import checker, leading to crash
|
||||
in some namespace package related cases. Closes issue #203.
|
||||
* Don't emit 'pointless-string-statement' for attribute docstrings.
|
||||
Closes issue #193.
|
||||
* Use the proper mode for pickle when opening and writing the stats file.
|
||||
Closes issue #148.
|
||||
* Don't emit hidden-method message when the attribute has been
|
||||
monkey-patched, you're on your own when you do that.
|
||||
* Only emit attribute-defined-outside-init for definition within the same
|
||||
module as the offended class, avoiding to mangle the output in some cases.
|
||||
* Don't emit 'unnecessary-lambda' if the body of the lambda call contains
|
||||
call chaining. Closes issue #243.
|
||||
* Don't emit 'missing-docstring' when the actual docstring uses `.format`.
|
||||
Closes issue #281.
|
||||
- Use zip from pypi as this now the only distribution channel
|
||||
- Add unzip to BuildRequires to above
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 10 12:39:09 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
|
@@ -18,18 +18,19 @@
|
||||
|
||||
%define modname pylint
|
||||
Name: python-%{modname}
|
||||
Version: 1.2.1
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Syntax and style checker for Python code
|
||||
License: GPL-2.0+
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.logilab.org/projects/pylint/
|
||||
Source: http://download.logilab.org/pub/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: python-astroid
|
||||
Source: https://pypi.python.org/packages/source/p/pylint/pylint-%{version}.zip
|
||||
BuildRequires: python-astroid >= 1.2.0
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-logilab-common >= 0.55
|
||||
BuildRequires: python-tk
|
||||
Requires: python-astroid
|
||||
BuildRequires: unzip
|
||||
Requires: python-astroid >= 1.2.0
|
||||
Requires: python-logilab-common >= 0.55
|
||||
Requires: python-tk
|
||||
Provides: pylint = %{version}
|
||||
|
Reference in New Issue
Block a user