14
0
forked from pool/python-pylint

Accepting request 224686 from home:apersaud:branches:devel:languages:python

update to latest version.

There are quite a few rpm-warnings that I don't know how to fix, but they have been present in the earlier warning too. (I submitted a patch to fix the FSF adress upstream, so those should be gone in the next version).

Seems like two *.orig files are present in the tar.gz file, removing them in %setup solved this issue.

OBS-URL: https://build.opensuse.org/request/show/224686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=53
This commit is contained in:
Denisart Benjamin
2014-03-05 10:06:55 +00:00
committed by Git OBS Bridge
parent fd5a8b452d
commit bef5c4faf8
4 changed files with 49 additions and 4 deletions

View File

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

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

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

View File

@@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Mar 5 06:43:45 UTC 2014 - arun@gmx.de
- update to version 1.1.0
* Add new check for use of deprecated pragma directives "pylint:disable-msg"
or "pylint:enable-msg" (I0022, deprecated-pragma) which was previously
emmited as a regular warn().
* Avoid false used-before-assignment for except handler defined
identifier used on the same line (#111).
* Combine 'no-space-after-operator', 'no-space-after-comma' and
'no-space-before-operator' into a new warning 'bad-whitespace'.
* Add a new warning 'superfluous-parens' for unnecessary
parentheses after certain keywords.
* Fix a potential crash in the redefine-in-handler warning
if the redefined name is a nested getattr node.
* Add a new option for the multi-statement warning to
allow single-line if statements.
* Add 'bad-context-manager' error, checking that '__exit__'
special method accepts the right number of arguments.
* Run pylint as a python module 'python -m pylint' (anatoly techtonik).
* Check for non-exception classes inside an except clause.
* epylint support options to give to pylint after the file to analyze and
have basic input validation (bitbucket #53 and #54), patches provided by
felipeochoa and Brian Lane.
* Added a new warning, 'non-iterator-returned', for non-iterators
returned by '__iter__'.
* Add new checks for unpacking non-sequences in assignments
(unpacking-non-sequence) as well as unbalanced tuple unpacking
(unbalanced-tuple-unpacking).
* useless-else-on-loop not emited if there is a break in the
else clause of inner loop (#117).
* don't mark `input` as a bad function when using python3 (#110).
* badly-implemented-container caused several problems in its
current implementation. Deactivate it until we have something
better. See #112 for instance.
* Use attribute regexp for properties in python3, as in python2
* Create the PYLINTHOME directory when needed, it might fail and lead to
spurious warnings on import of pylint.config.
* Fix setup.py so that pylint properly install on Windows when using python3
* Various documentation fixes and enhancements
* Fix issue #55 (false-positive trailing-whitespace on Windows)
-------------------------------------------------------------------
Fri Nov 29 09:36:36 UTC 2013 - toddrme2178@gmail.com

View File

@@ -18,7 +18,7 @@
%define modname pylint
Name: python-%{modname}
Version: 1.0.0
Version: 1.1.0
Release: 0
Summary: Syntax and style checker for Python code
License: GPL-2.0+
@@ -61,6 +61,9 @@ feature.
%prep
%setup -q -n %{modname}-%{version}
# two orig files made it into the rpm, but rpmlint throws an error
rm man/pylint.1.orig
rm examples/pylintrc.orig
%build
python setup.py build