Revisions of python-pylint
- Update to 1.3.1: * Fix a false positive with string formatting checker, when encountering a string which uses only position-based arguments. Closes issue #285. * Fix a false positive with string formatting checker, when using keyword argument packing. Closes issue #288. * Handle 'too-few-format-args' or 'too-many-format-args' for format strings with both named and positional fields. Closes issue #286. * Analyze only strings by the string format checker. Closes issue #287. * Properly handle nested format string fields. Closes issue #294. * Properly handle unicode format strings for Python 2. Closes issue #296. * Fix a false positive with 'too-few-format-args', when the format strings contains duplicate manual position arguments. Closes issue #310. * fixme regex handles comments without spaces after the hash. Closes issue #311. * Fix a crash encountered when looking for attribute docstrings. * Fix a crash which ocurred while checking for 'method-hidden', when the parent frame was something different than a function.
- 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'
Update to version 1.2.1
- update to version 1.2.0 * Pass the current python paths to pylint process when invoked via epylint. Fixes BitBucket issue #133. * Add -i / --include-ids and -s / --symbols back as completely ignored options. Fixes BitBucket issue #180. * Extend the number of cases in which logging calls are detected. Fixes bitbucket issue #182. * Improve pragma handling to not detect pylint:* strings in non-comments. Fixes BitBucket issue #79. * Do not crash with UnknownMessage if an unknown message ID/name appears in disable or enable in the configuration. Patch by Cole Robinson. Fixes bitbucket issue #170. * Add new warning 'eval-used', checking that the builtin function `eval` was used. * Make it possible to show a naming hint for invalid name by setting include-naming-hint. Also make the naming hints configurable. Fixes BitBucket issue #138. * Added support for enforcing multiple, but consistent name styles for different name types inside a single module; based on a patch written by morbo@google.com. * Also warn about empty docstrings on overridden methods; contributed by sebastianu@google.com. * Also inspect arguments to constructor calls, and emit relevant warnings; contributed by sebastianu@google.com. * Added a new configuration option logging-modules to make the list of module names that can be checked for 'logging-not-lazy' et. al. configurable; contributed by morbo@google.com. * ensure init-hooks is evaluated before other options, notably load-plugins (#166) * Python 2.5 support restored: fixed small issues preventing pylint to run on python 2.5. Bitbucket issues #50 and #62. * bitbucket #128: pylint doesn't crash when looking for used-before-assignment in context manager assignments. * Add new warning, 'bad-reversed-sequence', for checking that the reversed() builtin receive a sequence (implements __getitem__ and __len__, without being a dict or a dict subclass) or an instance which implements
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.
buildservice-autocommit
accepted
request 209497
from
Todd R (TheBlackCat)
(revision 51)
baserev update by copy to link target
Implement update-alternatives
buildservice-autocommit
accepted
request 208696
from
Denisart Benjamin (posophe)
(revision 49)
baserev update by copy to link target
Update requires and buildrequires
- Update to version 1.0.0 * Add check for the use of 'exec' function * New --msg-template option to control output, deprecating "msvc" and "parseable" output formats as well as killing `--include-ids` and `--symbols` options * Do not emit [fixme] for every line if the config value 'notes' is empty, but [fixme] is enabled. * Emit warnings about lines exceeding the column limit when those lines are inside multiline docstrings. * Do not double-check parameter names with the regex for parameters and inline variables. * Added a new warning missing-final-newline (C0304) for files missing the final newline. * Methods that are decorated as properties are now treated as attributes for the purposes of name checking. * Names of derived instance class member are not checked any more. * Names in global statements are now checked against the regular expression for constants. * For toplevel name assignment, the class name regex will be used if pylint can detect that value on the right-hand side is a class (like collections.namedtuple()). * Simplified invalid-name message * Added a new warning invalid-encoded-data (W0512) for files that contain data that cannot be decoded with the specified or default encoding. * New warning bad-open-mode (W1501) for calls to open (or file) that specify invalid open modes (Original implementation by Sasha Issayev). * New warning old-style-class (C1001) for classes that do not have any base class. * Add new name type 'class_attribute' for attributes defined in class scope. By default, allow both const and variable names. * New warning trailing-whitespace (C0303) that warns about trailing whitespace. * Added a new warning unpacking-in-except (W0712) about unpacking exceptions in handlers, which is unsupported in Python 3. * Add a configuration option for missing-docstring to optionally exempt short functions/methods/classes from the check. * Add the type of the offending node to missing-docstring and empty-docstring. * New utility classes for per-checker unittests in testutils.py * Do not warn about redefinitions of variables that match the dummy regex. * Do not treat all variables starting with _ as dummy variables, only _ itself. * Make the line-too-long warning configurable by adding a regex for lines for with the length limit should not be enforced * Do not warn about a long line if a pylint disable option brings it above the length limit * Do not flag names in nested with statements as undefined. * Added a new warning 'old-raise-syntax' for the deprecated syntax raise Exception, args * Support for PEP 3102 and new missing-kwoa (E1125) message for missing mandatory keyword argument (logilab.org's #107788) * Fix spelling of max-branchs option, now max-branches * Added a new base class and interface for checkers that work on the tokens rather than the syntax, and only tokenize the input file once. * Follow astng renaming to astroid * bitbucket #37: check for unbalanced unpacking in assignments * bitbucket #25: fix incomplete-protocol false positive for read-only containers like tuple * bitbucket #16: fix False positive E1003 on Python 3 for argument-less super() * bitbucket #6: put back documentation in source distribution * bitbucket #15: epylint shouldn't hang anymore when there is a large output on pylint'stderr * bitbucket #7: fix epylint w/ python3 * bitbucket #3: remove string module from the default list of deprecated modules - Remove unwanted %{py_requires} macro - Remove redundant %clean section
buildservice-autocommit
accepted
request 179960
from
Sascha Peilicke (saschpe)
(revision 46)
baserev update by copy to link target
- update to 0.28.0: * bitbucket #1: fix "dictionary changed size during iteration" crash * #74013: new E1310[bad-str-strip-call] message warning when a call to a {l,r,}strip method contains duplicate characters (patch by Torsten Marek) * #123233: new E0108[duplicate-argument-name] message reporting duplicate argument names * #81378: emit W0120[useless-else-on-loop] for loops without break * #124660: internal dependencies should not appear in external dependencies report * #124662: fix name error causing crash when symbols are included in output messages * #123285: apply pragmas for warnings attached to lines to physical source code lines * #123259: do not emit E0105 for yield expressions inside lambdas * #123892: don't crash when attempting to show source code line that can't be encoded with the current locale settings * Simplify checks for dangerous default values by unifying tests for all different mutable compound literals. * Improve the description for E1124[redundant-keyword-arg] * #20693: replace pylint.el by Ian Eure version (patch by J.Kotta) * #105327: add support for --disable=all option and deprecate the 'disable-all' inline directive in favour of 'skip-file' (patch by A.Fayolle) * #110840: add messages I0020 and I0021 for reporting of suppressed messages and useless suppression pragmas. (patch by Torsten Marek) - update to 0.28.0: * bitbucket #1: fix "dictionary changed size during iteration" crash * #74013: new E1310[bad-str-strip-call] message warning when a call to a {l,r,}strip method contains duplicate characters (patch by Torsten Marek)
buildservice-autocommit
accepted
request 142779
from
Todd R (TheBlackCat)
(revision 43)
baserev update by copy to link target
Removed openSUSE 11.4 spec file workarounds (forwarded request 142754 from TheBlackCat)
buildservice-autocommit
accepted
request 121377
from
Todd R (TheBlackCat)
(revision 41)
baserev update by copy to link target
Displaying revisions 101 - 120 of 157