forked from pool/python-pylint
osc copypac from project:home:frispete:branches:devel:languages:python package:python-pylint revision:2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pylint-0.18.0.tar.bz2
Normal file
3
pylint-0.18.0.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c8cf5050f5d0fd0852f2cb64ac52556f7fbf7d2577ceaf14c38305db5a1cb4ad
|
||||||
|
size 151155
|
289
python-pylint.changes
Normal file
289
python-pylint.changes
Normal file
@@ -0,0 +1,289 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 8 23:15:52 CEST 2009 - hpj@urpla.net
|
||||||
|
|
||||||
|
- rename package to python-pylint
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 5 15:47:50 CEST 2009 - hpj@urpla.net
|
||||||
|
|
||||||
|
- Update to version 0.18.0:
|
||||||
|
* tests ok with python 2.4, 2.5, 2.6. 2.3 not tested
|
||||||
|
* fix #8687, W0613 false positive on inner function
|
||||||
|
* fix #8350, C0322 false positive on multi-line string
|
||||||
|
* fix #8332: set E0501 line no to the first line where non ascii character
|
||||||
|
has been found
|
||||||
|
* avoid some E0203 / E0602 false negatives by detecting respectivly
|
||||||
|
AttributeError / NameError
|
||||||
|
* implements #4037: don't issue W0142 (* or ** magic) when they are barely
|
||||||
|
passed from */** arguments
|
||||||
|
* complete #5573: more complete list of special methods, also skip W0613
|
||||||
|
for python internal method
|
||||||
|
* don't show information messages by default
|
||||||
|
|
||||||
|
2009-03-19 -- 0.17.0
|
||||||
|
* semicolon check : move W0601 to W0301
|
||||||
|
* remove rpython : remove all rpython checker, modules and tests
|
||||||
|
* astng 0.18 compatibility: support for _ast module modifies interfaces
|
||||||
|
|
||||||
|
2009-01-28 -- 0.16.0
|
||||||
|
* change [en|dis]able-msg-cat options: only accept message categories
|
||||||
|
identified by their first letter (eg IRCWEF) without the need for comma
|
||||||
|
as separator
|
||||||
|
* add epylint.bat script to fix Windows installation
|
||||||
|
* setuptools/easy_install support
|
||||||
|
* include a modified version of Maarten ter Huurne patch to avoid W0613
|
||||||
|
warning on arguments from overridden method
|
||||||
|
* implement #5575 drop dumb W0704 message) by adding W0704 to ignored
|
||||||
|
messages by default
|
||||||
|
* new W0108 message, checking for suspicious lambda (provided by Nathaniel
|
||||||
|
Manista)
|
||||||
|
* fix W0631, false positive reported by Paul Hachmann
|
||||||
|
* fix #6951: false positive with W0104
|
||||||
|
* fix #6949
|
||||||
|
* patches by Mads Kiilerich:
|
||||||
|
* implement #4691, make pylint exits with a non zero return
|
||||||
|
status if any messages other then Information are issued
|
||||||
|
* fix #3711, #5626 (name resolution bug w/ decorator and class members)
|
||||||
|
* fix #6954
|
||||||
|
|
||||||
|
2008-10-13 -- 0.15.2
|
||||||
|
* fix #5672: W0706 weirdness ( W0706 removed )
|
||||||
|
* fix #5998: documentation points to wrong url for mailing list
|
||||||
|
* fix #6022: no error message on wrong module names
|
||||||
|
* fix #6040: pytest doesn't run test/func_test.py
|
||||||
|
|
||||||
|
2008-09-15 -- 0.15.1
|
||||||
|
* fix #4910: default values are missing in manpage
|
||||||
|
* fix #5991: missing files in 0.15.0 tarball
|
||||||
|
* fix #5993: epylint should work with python 2.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 12 17:59:47 CEST 2008 - garloff@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.15.0:
|
||||||
|
* include pyreverse package and class diagram generation
|
||||||
|
* included Stefan Rank's patch to deal with 2.4 relative import
|
||||||
|
* included Robert Kirkpatrick's tutorial and typos fixes
|
||||||
|
* fix bug in reenabling message
|
||||||
|
* fix #2473: invoking pylint on __init__.py (hopefuly)
|
||||||
|
* typecheck: acquired-members option has been dropped in favor of the more
|
||||||
|
generic generated-members option. If the zope option is set, the behaviour
|
||||||
|
is now to add some default values to generated-members.
|
||||||
|
* flymake integration: added bin/epylint and elisp/pylint-flymake.el
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 22 18:26:44 CEST 2008 - garloff@suse.de
|
||||||
|
|
||||||
|
- Update to verions 0.14.0:
|
||||||
|
* fix #3733: Messages (dis)appear depending on order of file names
|
||||||
|
* fix #4026: pylint.el should require compile
|
||||||
|
* fix a bug in colorized reporter, spotted by Dave Borowitz
|
||||||
|
* applied patch from Stefan Rank to avoid W0410 false positive when
|
||||||
|
multiple "from __future__" import statements
|
||||||
|
* implement #4012: flag back tick as deprecated (new W0333 message)
|
||||||
|
* new ignored-class option on typecheck checker allowing to skip members
|
||||||
|
checking based on class name (patch provided by Thomas W Barr)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 17 01:59:42 CEST 2007 - garloff@suse.de
|
||||||
|
|
||||||
|
- Update to pylint 0.13.2:
|
||||||
|
* fix disable-checker option so that it won't accidentally enable the
|
||||||
|
rpython checker which is disabled by default
|
||||||
|
* added note about the gedit plugin into documentation
|
||||||
|
- Update to pylint 0.13.1:
|
||||||
|
* fix some unexplained 0.13.0 packaging issue which led a bunch of
|
||||||
|
files missing from the distribution
|
||||||
|
- Update to pylint 0.13.0:
|
||||||
|
* new RPython (Restricted Python) checker for PyPy felow or people
|
||||||
|
wanting to get a compiled version of their python program using the
|
||||||
|
translator of the PyPy project. For more information about PyPy or
|
||||||
|
RPython, visit http://codespeak.net/pypy/
|
||||||
|
* new E0104 and E0105 messages introduced to respectivly warn about
|
||||||
|
"return" and "yield" outside function or method
|
||||||
|
* new E0106 message when "yield" and "return something" are mixed in a
|
||||||
|
function or method
|
||||||
|
* new W0107 message for unnecessary pass statement
|
||||||
|
* new W0614 message to differentiate between unused 'import X' and
|
||||||
|
unused 'from X import *" (#3209, patch submitted by Daniel Drake)
|
||||||
|
* included Daniel Drake's patch to have a different message E1003 instead of
|
||||||
|
E1001 when a missing member is found but an inference failure has been
|
||||||
|
detected
|
||||||
|
* msvs reporter for Visual Studio line number reporting (#3285)
|
||||||
|
* allow disable-all option inline (#3218, patch submitted by Daniel Drake)
|
||||||
|
* --init-hook option to call arbitray code necessary to set
|
||||||
|
environment (eg sys.path) (#3156)
|
||||||
|
* One more Daniel's patch fixing a command line option parsing
|
||||||
|
problem, this'll definitly be the DDrake release :)
|
||||||
|
* fix #3184: crashes on "return" outside function
|
||||||
|
* fix #3205: W0704 false positive
|
||||||
|
* fix #3123: W0212 false positive on static method
|
||||||
|
* fix #2485: W0222 false positive
|
||||||
|
* fix #3259: when a message is explicitly enabled, check the checker
|
||||||
|
emitting it is enabled
|
||||||
|
- Update to pylint 0.12.2:
|
||||||
|
* fix #3143: W0233 bug w/ YES objects
|
||||||
|
* fix #3119: Off-by-one error counting lines in a file
|
||||||
|
* fix #3117: ease sys.stdout overriding for reporters
|
||||||
|
* fix #2508: E0601 false positive with lambda
|
||||||
|
* fix #3125: E1101 false positive and a message duplication. Only the last part
|
||||||
|
is actually fixed since the initial false positive is due to dynaming setting of
|
||||||
|
attributes on the decimal.Context class.
|
||||||
|
* fix #3149: E0101 false positives and introduced E0100 for generator __init__
|
||||||
|
methods
|
||||||
|
* fixed some format checker false positives
|
||||||
|
- Update to pylint 0.12.1:
|
||||||
|
* fixed python >= 2.4 format false positive with multiple lines statement
|
||||||
|
* fixed some 2.5 issues
|
||||||
|
* fixed generator expression scope bug (depends on astng 0.16.1)
|
||||||
|
* stop requiring __revision__
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 26 14:51:57 CEST 2006 - cthiel@suse.de
|
||||||
|
|
||||||
|
- fix build with python 2.5
|
||||||
|
- update to version 0.12.0
|
||||||
|
* usability changes:
|
||||||
|
o parseable, html and color options are now handled by a single
|
||||||
|
output-format option
|
||||||
|
o enable-<checkerid> and disable-all options are now handled by
|
||||||
|
two (exclusive) enable-checker and disable-checker options
|
||||||
|
taking a comma separated list of checker names as value
|
||||||
|
o renamed debug-mode option to errors-only
|
||||||
|
* started a reference user manual
|
||||||
|
* new W0212 message for access to protected member from client code
|
||||||
|
* new W0105 and W0106 messages extracted from W0104 (statement seems to
|
||||||
|
have no effect) respectivly when the statement is actually string
|
||||||
|
(that's sometimes used instead of comments for documentation) or an
|
||||||
|
empty statement generated by a useless semicolumn
|
||||||
|
* reclassified W0302 to C0302
|
||||||
|
* fix so that global messages are not anymore connected to the last
|
||||||
|
analyzed module
|
||||||
|
* fix some bugs related to local disabling of messages
|
||||||
|
* fix cr/lf pb when generating the rc file on windows platforms
|
||||||
|
- changes from 0.10.0 to 0.11.0
|
||||||
|
* fix crash caused by the exceptions checker in some case
|
||||||
|
* fix some E1101 false positive with abstract method or classes defining
|
||||||
|
__getattr__
|
||||||
|
* dirty fix to avoid "_socketobject" has not "connect" member. The actual
|
||||||
|
problem is that astng isn't able to understand the code used to create
|
||||||
|
socket.socket object with exec
|
||||||
|
* added an option in the similarity checker to ignore docstrings, enabled
|
||||||
|
by default
|
||||||
|
* included patch from Benjamin Niemann to allow block level
|
||||||
|
enabling/disabling of messages
|
||||||
|
- changes from 0.9.0 to 0.10.0
|
||||||
|
* WARNING, this release include some configuration changes (see below), so
|
||||||
|
you may have to check and update your own configuration file(s) if you
|
||||||
|
use one
|
||||||
|
* this release require the 0.15 version of astng or superior (it will save
|
||||||
|
you a lot of pylint crashes...)
|
||||||
|
* W0705 has been reclassified to E0701, and is now detecting more
|
||||||
|
inheriting problem, and a false positive when empty except clause is
|
||||||
|
following an Exception catch has been fixed
|
||||||
|
* E0212 and E0214 (metaclass/class method should have mcs/cls as first
|
||||||
|
argument have been reclassified to C0202 and C0203 since this not as
|
||||||
|
well established as "self" for instance method (E0213)
|
||||||
|
* W0224 has been reclassified into F0220 (failed to resolve interfaces
|
||||||
|
implemented by a class)
|
||||||
|
* a new typecheck checker, introducing the following checks:
|
||||||
|
o E1101, access to unexistant member (implements #10430), remove the
|
||||||
|
need of E0201 and so some options has been moved from the classes
|
||||||
|
checker to this one
|
||||||
|
o E1102, calling a non callable object
|
||||||
|
o E1111 and W1111 when an assigment is done on a function call but the
|
||||||
|
infered function returns None (implements #10431)
|
||||||
|
* change in the base checker:
|
||||||
|
o checks module level and instance attribute names (new const-rgx
|
||||||
|
and attr-rgx configuration option)
|
||||||
|
o list comprehension and generator expression variables have their
|
||||||
|
own regular expression (the inlinevar-rgx option)
|
||||||
|
o the C0101 check with its min-name-lentgh option has
|
||||||
|
been removed (this can be specified in the regxp after all...)
|
||||||
|
o W0103 and W0121 are now handled by the variables checker
|
||||||
|
(W0103 is now W0603 and W0604 has been splitted into different messages)
|
||||||
|
o W0131 and W0132 messages have been reclassified to C0111 and
|
||||||
|
C0112 respectivly
|
||||||
|
o new W0104 message on statement without effect
|
||||||
|
* regexp support for dummy-variables (dummy-variables-rgx option
|
||||||
|
replace dummy-variables)
|
||||||
|
* better global statement handling, see W0602, W0603, W0604 messages
|
||||||
|
* --debug-mode option, disabling all checkers without error message
|
||||||
|
and filtering others to only display error
|
||||||
|
* fixed some R0201 (method could be a function) false positive
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 28 16:46:02 CET 2006 - jmatejek@suse.cz
|
||||||
|
|
||||||
|
- updated to reflect python changes due to #149809
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 28 01:42:00 CET 2006 - garloff@suse.de
|
||||||
|
|
||||||
|
- Update to 0.9.0:
|
||||||
|
* Updates induced by astng-0.14.
|
||||||
|
* Allow additional plugins.
|
||||||
|
* Use local dir's pylintrc in preference over others.
|
||||||
|
* Many bugfixes (W0706, E0611, E0203, E0214, W0212, W0401, #9789)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:40:43 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 22 11:09:58 CET 2005 - garloff@suse.de
|
||||||
|
|
||||||
|
- Add dependency on python-logilab-astng.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 19 23:54:21 CET 2005 - garloff@suse.de
|
||||||
|
|
||||||
|
- Update to 0.8.1:
|
||||||
|
* fix "deprecated module" false positive when the code imports a
|
||||||
|
module whose name starts with a deprecated module's name.
|
||||||
|
* fix "module has no name __dict__" false positive.
|
||||||
|
* fix "access to undefined variable __path__" false positive.
|
||||||
|
* fix "explicit return in __init__" false positive when return is
|
||||||
|
actually in an inner function.
|
||||||
|
- Update to 0.8.0:
|
||||||
|
* check names imported from a module exists in the module (E0611),
|
||||||
|
patch contributed by Amaury Forgeot d'Arc.
|
||||||
|
* print a warning (W0212) for methods that could be a function.
|
||||||
|
* new --defining-attr-methods option on classes checker.
|
||||||
|
* new --acquired-members option on the classes checker, used when
|
||||||
|
--zope=yes to avoid false positive on acquired attributes (listed
|
||||||
|
using this new option).
|
||||||
|
* generate one E0602 for each use of an undefined variable
|
||||||
|
(previously, only one for the first use but not for the following).
|
||||||
|
* make profile option saveable.
|
||||||
|
* fix Windows .bat file, patch contributed by Amaury Forgeot d'Arc
|
||||||
|
* fix one more false positive for E0601 (access before definition)
|
||||||
|
with for loop such as "for i in range(10): print i" (test
|
||||||
|
func_noerror_defined_and_used_on_same_line)
|
||||||
|
* fix false positive for E0201 (undefined member) when accessing to
|
||||||
|
__name__ on a class object
|
||||||
|
* fix astng checkers traversal order
|
||||||
|
* fix bug in format checker when parsing a file from a platform
|
||||||
|
using different new line characters
|
||||||
|
* fix encoding detection regexp
|
||||||
|
* fix --rcfile handling (support for --rcfile=file, close #9590)
|
||||||
|
- bzip2 sources.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 13 00:51:25 CEST 2005 - ro@suse.de
|
||||||
|
|
||||||
|
- remove noarch for now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 26 02:56:40 CEST 2005 - garloff@suse.de
|
||||||
|
|
||||||
|
- Make it a noarch package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 17 15:17:57 CEST 2005 - garloff@suse.de
|
||||||
|
|
||||||
|
- Initial creation of package pylint-0.7.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
283
python-pylint.spec
Normal file
283
python-pylint.spec
Normal file
@@ -0,0 +1,283 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pylint (Version 0.18.0)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-pylint
|
||||||
|
BuildRequires: python-devel
|
||||||
|
Summary: Syntax and style checker for Python code
|
||||||
|
Version: 0.18.0
|
||||||
|
Release: 1
|
||||||
|
Source: pylint-%{version}.tar.bz2
|
||||||
|
#Patch: %{name}-%{version}.patch
|
||||||
|
License: GPL v2 or later
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Url: http://www.logilab.org/projects/pylint/
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Requires: python-logilab-common python-logilab-astng
|
||||||
|
Provides: pylint
|
||||||
|
Obsoletes: pylint
|
||||||
|
%{py_requires}
|
||||||
|
%if 0%suse_version > 1110
|
||||||
|
BuildArch: noarch
|
||||||
|
%define py_sitedir %python_sitelib
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pylint analyzes Python source code looking for bugs and signs of poor
|
||||||
|
quality.
|
||||||
|
|
||||||
|
Pylint is a python tool that checks if a module satisfy a coding
|
||||||
|
standard. Pylint can be seen as another PyChecker since nearly all
|
||||||
|
tests you can do with PyChecker can also be done with Pylint. But
|
||||||
|
Pylint offers some more features, like checking line-code's length,
|
||||||
|
checking if variable names are well-formed according to your coding
|
||||||
|
standard, or checking if declared interfaces are truly implemented, and
|
||||||
|
much more (see the complete check list).
|
||||||
|
|
||||||
|
The big advantage with Pylint is that it is highly configurable,
|
||||||
|
customizable, and you can easily write a small plugin to add a personal
|
||||||
|
feature.
|
||||||
|
|
||||||
|
Please send any comment, patch or question to the python-projects
|
||||||
|
mailing-list. Before asking a question, please first search the
|
||||||
|
archives in case it would have already been answered. You may want to
|
||||||
|
use google and add "site:lists.logilab.org" to your keywords to narrow
|
||||||
|
your search. We will soon provide our own search engine.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Sylvain Th<EFBFBD>nault
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pylint-%{version}
|
||||||
|
#%patch
|
||||||
|
|
||||||
|
%build
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
#export PYTHONOPTIMIZE=1 #--optimize=1
|
||||||
|
python setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
|
||||||
|
rm -rf $RPM_BUILD_ROOT/%{py_sitedir}/pylint/test/
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc TODO README ChangeLog examples/ doc/
|
||||||
|
%{_bindir}/*
|
||||||
|
%{py_sitedir}/pylint
|
||||||
|
%{py_sitedir}/*egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 12 2008 garloff@suse.de
|
||||||
|
- Update to version 0.15.0:
|
||||||
|
* include pyreverse package and class diagram generation
|
||||||
|
* included Stefan Rank's patch to deal with 2.4 relative import
|
||||||
|
* included Robert Kirkpatrick's tutorial and typos fixes
|
||||||
|
* fix bug in reenabling message
|
||||||
|
* fix #2473: invoking pylint on __init__.py (hopefuly)
|
||||||
|
* typecheck: acquired-members option has been dropped in favor of the more
|
||||||
|
generic generated-members option. If the zope option is set, the behaviour
|
||||||
|
is now to add some default values to generated-members.
|
||||||
|
* flymake integration: added bin/epylint and elisp/pylint-flymake.el
|
||||||
|
* Fri Aug 22 2008 garloff@suse.de
|
||||||
|
- Update to verions 0.14.0:
|
||||||
|
* fix #3733: Messages (dis)appear depending on order of file names
|
||||||
|
* fix #4026: pylint.el should require compile
|
||||||
|
* fix a bug in colorized reporter, spotted by Dave Borowitz
|
||||||
|
* applied patch from Stefan Rank to avoid W0410 false positive when
|
||||||
|
multiple "from __future__" import statements
|
||||||
|
* implement #4012: flag back tick as deprecated (new W0333 message)
|
||||||
|
* new ignored-class option on typecheck checker allowing to skip members
|
||||||
|
checking based on class name (patch provided by Thomas W Barr)
|
||||||
|
* Tue Jul 17 2007 garloff@suse.de
|
||||||
|
- Update to pylint 0.13.2:
|
||||||
|
* fix disable-checker option so that it won't accidentally enable the
|
||||||
|
rpython checker which is disabled by default
|
||||||
|
* added note about the gedit plugin into documentation
|
||||||
|
- Update to pylint 0.13.1:
|
||||||
|
* fix some unexplained 0.13.0 packaging issue which led a bunch of
|
||||||
|
files missing from the distribution
|
||||||
|
- Update to pylint 0.13.0:
|
||||||
|
* new RPython (Restricted Python) checker for PyPy felow or people
|
||||||
|
wanting to get a compiled version of their python program using the
|
||||||
|
translator of the PyPy project. For more information about PyPy or
|
||||||
|
RPython, visit http://codespeak.net/pypy/
|
||||||
|
* new E0104 and E0105 messages introduced to respectivly warn about
|
||||||
|
"return" and "yield" outside function or method
|
||||||
|
* new E0106 message when "yield" and "return something" are mixed in a
|
||||||
|
function or method
|
||||||
|
* new W0107 message for unnecessary pass statement
|
||||||
|
* new W0614 message to differentiate between unused 'import X' and
|
||||||
|
unused 'from X import *" (#3209, patch submitted by Daniel Drake)
|
||||||
|
* included Daniel Drake's patch to have a different message E1003 instead of
|
||||||
|
E1001 when a missing member is found but an inference failure has been
|
||||||
|
detected
|
||||||
|
* msvs reporter for Visual Studio line number reporting (#3285)
|
||||||
|
* allow disable-all option inline (#3218, patch submitted by Daniel Drake)
|
||||||
|
* --init-hook option to call arbitray code necessary to set
|
||||||
|
environment (eg sys.path) (#3156)
|
||||||
|
* One more Daniel's patch fixing a command line option parsing
|
||||||
|
problem, this'll definitly be the DDrake release :)
|
||||||
|
* fix #3184: crashes on "return" outside function
|
||||||
|
* fix #3205: W0704 false positive
|
||||||
|
* fix #3123: W0212 false positive on static method
|
||||||
|
* fix #2485: W0222 false positive
|
||||||
|
* fix #3259: when a message is explicitly enabled, check the checker
|
||||||
|
emitting it is enabled
|
||||||
|
- Update to pylint 0.12.2:
|
||||||
|
* fix #3143: W0233 bug w/ YES objects
|
||||||
|
* fix #3119: Off-by-one error counting lines in a file
|
||||||
|
* fix #3117: ease sys.stdout overriding for reporters
|
||||||
|
* fix #2508: E0601 false positive with lambda
|
||||||
|
* fix #3125: E1101 false positive and a message duplication. Only the last part
|
||||||
|
is actually fixed since the initial false positive is due to dynaming setting of
|
||||||
|
attributes on the decimal.Context class.
|
||||||
|
* fix #3149: E0101 false positives and introduced E0100 for generator __init__
|
||||||
|
methods
|
||||||
|
* fixed some format checker false positives
|
||||||
|
- Update to pylint 0.12.1:
|
||||||
|
* fixed python >= 2.4 format false positive with multiple lines statement
|
||||||
|
* fixed some 2.5 issues
|
||||||
|
* fixed generator expression scope bug (depends on astng 0.16.1)
|
||||||
|
* stop requiring __revision__
|
||||||
|
* Tue Sep 26 2006 cthiel@suse.de
|
||||||
|
- fix build with python 2.5
|
||||||
|
- update to version 0.12.0
|
||||||
|
* usability changes:
|
||||||
|
o parseable, html and color options are now handled by a single
|
||||||
|
output-format option
|
||||||
|
o enable-<checkerid> and disable-all options are now handled by
|
||||||
|
two (exclusive) enable-checker and disable-checker options
|
||||||
|
taking a comma separated list of checker names as value
|
||||||
|
o renamed debug-mode option to errors-only
|
||||||
|
* started a reference user manual
|
||||||
|
* new W0212 message for access to protected member from client code
|
||||||
|
* new W0105 and W0106 messages extracted from W0104 (statement seems to
|
||||||
|
have no effect) respectivly when the statement is actually string
|
||||||
|
(that's sometimes used instead of comments for documentation) or an
|
||||||
|
empty statement generated by a useless semicolumn
|
||||||
|
* reclassified W0302 to C0302
|
||||||
|
* fix so that global messages are not anymore connected to the last
|
||||||
|
analyzed module
|
||||||
|
* fix some bugs related to local disabling of messages
|
||||||
|
* fix cr/lf pb when generating the rc file on windows platforms
|
||||||
|
- changes from 0.10.0 to 0.11.0
|
||||||
|
* fix crash caused by the exceptions checker in some case
|
||||||
|
* fix some E1101 false positive with abstract method or classes defining
|
||||||
|
__getattr__
|
||||||
|
* dirty fix to avoid "_socketobject" has not "connect" member. The actual
|
||||||
|
problem is that astng isn't able to understand the code used to create
|
||||||
|
socket.socket object with exec
|
||||||
|
* added an option in the similarity checker to ignore docstrings, enabled
|
||||||
|
by default
|
||||||
|
* included patch from Benjamin Niemann to allow block level
|
||||||
|
enabling/disabling of messages
|
||||||
|
- changes from 0.9.0 to 0.10.0
|
||||||
|
* WARNING, this release include some configuration changes (see below), so
|
||||||
|
you may have to check and update your own configuration file(s) if you
|
||||||
|
use one
|
||||||
|
* this release require the 0.15 version of astng or superior (it will save
|
||||||
|
you a lot of pylint crashes...)
|
||||||
|
* W0705 has been reclassified to E0701, and is now detecting more
|
||||||
|
inheriting problem, and a false positive when empty except clause is
|
||||||
|
following an Exception catch has been fixed
|
||||||
|
* E0212 and E0214 (metaclass/class method should have mcs/cls as first
|
||||||
|
argument have been reclassified to C0202 and C0203 since this not as
|
||||||
|
well established as "self" for instance method (E0213)
|
||||||
|
* W0224 has been reclassified into F0220 (failed to resolve interfaces
|
||||||
|
implemented by a class)
|
||||||
|
* a new typecheck checker, introducing the following checks:
|
||||||
|
o E1101, access to unexistant member (implements #10430), remove the
|
||||||
|
need of E0201 and so some options has been moved from the classes
|
||||||
|
checker to this one
|
||||||
|
o E1102, calling a non callable object
|
||||||
|
o E1111 and W1111 when an assigment is done on a function call but the
|
||||||
|
infered function returns None (implements #10431)
|
||||||
|
* change in the base checker:
|
||||||
|
o checks module level and instance attribute names (new const-rgx
|
||||||
|
and attr-rgx configuration option)
|
||||||
|
o list comprehension and generator expression variables have their
|
||||||
|
own regular expression (the inlinevar-rgx option)
|
||||||
|
o the C0101 check with its min-name-lentgh option has
|
||||||
|
been removed (this can be specified in the regxp after all...)
|
||||||
|
o W0103 and W0121 are now handled by the variables checker
|
||||||
|
(W0103 is now W0603 and W0604 has been splitted into different messages)
|
||||||
|
o W0131 and W0132 messages have been reclassified to C0111 and
|
||||||
|
C0112 respectivly
|
||||||
|
o new W0104 message on statement without effect
|
||||||
|
* regexp support for dummy-variables (dummy-variables-rgx option
|
||||||
|
replace dummy-variables)
|
||||||
|
* better global statement handling, see W0602, W0603, W0604 messages
|
||||||
|
* --debug-mode option, disabling all checkers without error message
|
||||||
|
and filtering others to only display error
|
||||||
|
* fixed some R0201 (method could be a function) false positive
|
||||||
|
* Tue Feb 28 2006 jmatejek@suse.cz
|
||||||
|
- updated to reflect python changes due to #149809
|
||||||
|
* Sat Jan 28 2006 garloff@suse.de
|
||||||
|
- Update to 0.9.0:
|
||||||
|
* Updates induced by astng-0.14.
|
||||||
|
* Allow additional plugins.
|
||||||
|
* Use local dir's pylintrc in preference over others.
|
||||||
|
* Many bugfixes (W0706, E0611, E0203, E0214, W0212, W0401, #9789)
|
||||||
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Thu Dec 22 2005 garloff@suse.de
|
||||||
|
- Add dependency on python-logilab-astng.
|
||||||
|
* Tue Dec 20 2005 garloff@suse.de
|
||||||
|
- Update to 0.8.1:
|
||||||
|
* fix "deprecated module" false positive when the code imports a
|
||||||
|
module whose name starts with a deprecated module's name.
|
||||||
|
* fix "module has no name __dict__" false positive.
|
||||||
|
* fix "access to undefined variable __path__" false positive.
|
||||||
|
* fix "explicit return in __init__" false positive when return is
|
||||||
|
actually in an inner function.
|
||||||
|
- Update to 0.8.0:
|
||||||
|
* check names imported from a module exists in the module (E0611),
|
||||||
|
patch contributed by Amaury Forgeot d'Arc.
|
||||||
|
* print a warning (W0212) for methods that could be a function.
|
||||||
|
* new --defining-attr-methods option on classes checker.
|
||||||
|
* new --acquired-members option on the classes checker, used when
|
||||||
|
--zope=yes to avoid false positive on acquired attributes (listed
|
||||||
|
using this new option).
|
||||||
|
* generate one E0602 for each use of an undefined variable
|
||||||
|
(previously, only one for the first use but not for the following).
|
||||||
|
* make profile option saveable.
|
||||||
|
* fix Windows .bat file, patch contributed by Amaury Forgeot d'Arc
|
||||||
|
* fix one more false positive for E0601 (access before definition)
|
||||||
|
with for loop such as "for i in range(10): print i" (test
|
||||||
|
func_noerror_defined_and_used_on_same_line)
|
||||||
|
* fix false positive for E0201 (undefined member) when accessing to
|
||||||
|
__name__ on a class object
|
||||||
|
* fix astng checkers traversal order
|
||||||
|
* fix bug in format checker when parsing a file from a platform
|
||||||
|
using different new line characters
|
||||||
|
* fix encoding detection regexp
|
||||||
|
* fix --rcfile handling (support for --rcfile=file, close #9590)
|
||||||
|
- bzip2 sources.
|
||||||
|
* Sat Aug 13 2005 ro@suse.de
|
||||||
|
- remove noarch for now
|
||||||
|
* Tue Jul 26 2005 garloff@suse.de
|
||||||
|
- Make it a noarch package.
|
||||||
|
* Sun Jul 17 2005 garloff@suse.de
|
||||||
|
- Initial creation of package pylint-0.7.0.
|
Reference in New Issue
Block a user