14
0
forked from pool/python-pylint
Commit Graph

60 Commits

Author SHA256 Message Date
Michal Čihař
a58715e83f Accepting request 259680 from home:Nijel:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/259680
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=57
2014-11-04 16:46:14 +00:00
Michal Čihař
0660d6a5cf 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
2014-08-12 13:50:15 +00:00
Todd R
84dcb40a7d Accepting request 240187 from home:TheBlackCat:branches:devel:languages:python
Update to version 1.2.1

OBS-URL: https://build.opensuse.org/request/show/240187
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=55
2014-07-10 13:06:24 +00:00
Denisart Benjamin
abacb84f44 Accepting request 231234 from home:Nijel:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/231234
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=54
2014-04-24 19:25:29 +00:00
Denisart Benjamin
bef5c4faf8 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
2014-03-05 10:06:55 +00:00
Sascha Peilicke
fd5a8b452d Drop _link after Factory removal
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=52
2014-02-24 02:22:25 +00:00
9c0029ba80 - update to 0.19.0 (bnc#555993):
* include James Lingard string format checker
   * include simple message (ids) listing by Vincent Férotin (#9791)
   * --errors-only does not hide fatal error anymore
   * include james Lingard patches for ++/-- and duplicate key in dicts
   * include James Lingard patches for function call arguments checker
   * improved flymake code and doc provided by Derek Harland
   * refactor and fix the imports checker
   * fix #18862: E0601 false positive with lambda functions
   * fix #8764: More than one statement on a single line false positive with
     try/except/finally
   * fix #9215: false undefined variable error in lambda function
   * fix for w0108 false positive (Nathaniel)
   * fix test/fulltest.sh
   * #5821 added a utility function to run pylint in another process (patch provide by Vincent Férotin)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=5
2009-12-18 20:20:17 +00:00
Peter Poeml
f994cbb786 - fix build on SLE10 by not including %{py_sitedir}/*egg-info in
the filelist there

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=4
2009-09-16 20:48:20 +00:00
8f81b9a62d - update to 0.18.1:
* improved flymake code and doc provided by Derek Harland
  * refactor & fix the imports checker
  * fix #8764: More than one statement on a single line false positive with
    try/except/finally
  * Nathaniel's fix for w0108 false positive
  * fix 9215: false undefined variable error in lambda function

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=2
2009-09-09 19:16:54 +00:00
3d98fa2943 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
2009-09-09 16:57:28 +00:00