14
0
forked from pool/python-pylint
Commit Graph

25 Commits

Author SHA256 Message Date
Tomáš Chvátal
9f5250464b - Switch to regular releases again
- Update to 1.8.3:
  * Various false positives were fixed
  * Many additional python3 tweaks
  * For more see ChangeLog
- Drop test conditional as it is always on
- Add py2 and py3 bconds to allow building in the respective
  enviroments
- Run only python3 tests it takes ages to finish and we should focus
  only on one variant
  * Also few tests currently fail and upstream is aware so put there
    ||:
    https://github.com/PyCQA/pylint/issues/1847

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=75
2018-01-24 13:02:51 +00:00
Jan Matejek
0f1a293c08 - uninstall alternatives in %postun
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=73
2017-03-29 14:03:31 +00:00
Jan Matejek
6ec4034e6d Accepting request 479733 from devel:languages:python:singlespec
- update for singlespec
- enable test suite for all pythons
- update to 1.7.0 git pre-release, for python 3.6 support
  (boo#1026174)
  * multitude of new checkers
  * support for namespace packages
  * dropped pylint-gui
  * see changes in /usr/share/doc/packages/python-pylint/ChangeLog

OBS-URL: https://build.opensuse.org/request/show/479733
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=71
2017-03-15 15:33:32 +00:00
a5ec8efde5 Accepting request 453820 from home:stroeder:branches:devel:languages:python
update to 1.6.5

OBS-URL: https://build.opensuse.org/request/show/453820
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=69
2017-02-01 17:41:51 +00:00
56105d0f03 Accepting request 449761 from home:ecsos
update source url. 
Please accepted it fast so i can submit it to factory. Need for other package.

OBS-URL: https://build.opensuse.org/request/show/449761
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=68
2017-01-12 12:21:38 +00:00
Thomas Bechtold
d0413f6d58 Accepting request 419366 from home:stroeder:branches:devel:languages:python
update to 1.6.4

OBS-URL: https://build.opensuse.org/request/show/419366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=67
2016-08-19 06:13:38 +00:00
c6988b2751 Accepting request 407173 from home:stroeder:branches:devel:languages:python
update to 1.6.1

OBS-URL: https://build.opensuse.org/request/show/407173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=66
2016-07-08 08:45:46 +00:00
586db1324c Accepting request 394206 from home:stroeder:branches:devel:languages:python
update to 1.5.5

OBS-URL: https://build.opensuse.org/request/show/394206
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=65
2016-05-09 11:25:08 +00:00
894a5af986 Accepting request 358962 from home:weberho:branches:devel:languages:python
* Update to version 1.5.4

Please forward it to factory: Could not submit 1.5.3 as the sources have been disappeared

OBS-URL: https://build.opensuse.org/request/show/358962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=64
2016-02-15 20:18:39 +00:00
Todd R
034dc6cf30 Accepting request 353383 from home:TheBlackCat:branches:devel:languages:python
Update to version 1.5.3

OBS-URL: https://build.opensuse.org/request/show/353383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=63
2016-01-13 10:21:11 +00:00
Michal Čihař
d02d259c2e Accepting request 328669 from home:Nijel:branches:devel:languages:python
- Update to 1.4.4:
    * Avoid breaking pylint when using logilab.common >= 1.0.

OBS-URL: https://build.opensuse.org/request/show/328669
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=62
2015-09-02 14:28:49 +00:00
Michal Čihař
e0299a12f8 Accepting request 290987 from home:Nijel:branches:devel:languages:python
- Update to 1.4.3:
    * Remove three warnings: star-args, abstract-class-little-used,
      abstract-class-not-used. These warnings don't add any real value
      and they don't imply errors or problems in the code.
    * Added a new option for controlling the peephole optimizer in astroid.
      The option ``--optimize-ast`` will control the peephole optimizer,
      which is used to optimize a couple of AST subtrees. The current problem
      solved by the peephole optimizer is when multiple joined strings,
      with the addition operator, are encountered. If the numbers of such
      strings is high enough, Pylint will then fail with a maximum recursion
      depth exceeded error, due to its visitor architecture. The peephole
      just transforms such calls, if it can, into the final resulting string
      and this exhibit a problem, because the visit_binop method stops being
      called (in the optimized AST it will be a Const node).

OBS-URL: https://build.opensuse.org/request/show/290987
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=61
2015-03-16 12:58:28 +00:00
Michal Čihař
d634419257 Accepting request 290392 from home:Nijel:branches:devel:languages:python
- Update to 1.4.2:
    * Don't require a docstring for empty modules. Closes issue #261.
    * Fix a false positive with `too-few-format-args` string warning,
      emitted when the string format contained a normal positional
      argument ('{0}'), mixed with a positional argument which did
      an attribute access ('{0.__class__}').
      Closes issue #463.
    * Take in account all the methods from the ancestors
      when checking for too-few-public-methods. Closes issue #471.
    * Catch enchant errors and emit 'invalid-characters-in-docstring'
      when checking for spelling errors. Closes issue #469.
    * Use all the inferred statements for the super-init-not-called
      check. Closes issue #389.
    * Add a new warning, 'unichr-builtin', emitted by the Python 3
      porting checker, when the unichr builtin is found. Closes issue #472.
    * Add a new warning, 'intern-builtin', emitted by the Python 3
      porting checker, when the intern builtin is found. Closes issue #473.
    * Add support for editable installations.
    * The HTML output accepts the `--msg-template` option. Patch by
      Dan Goldsmith.
    * Add 'map-builtin-not-iterating' (replacing 'implicit-map-evaluation'),
      'zip-builtin-not-iterating', 'range-builtin-not-iterating', and
      'filter-builtin-not-iterating' which are emitted by `--py3k` when the
      appropriate built-in is not used in an iterating context (semantics
      taken from 2to3).
    * Add a new warning, 'unidiomatic-typecheck', emitted when an explicit
      typecheck uses type() instead of isinstance(). For example,
      `type(x) == Y` instead of `isinstance(x, Y)`. Patch by Chris Rebert.
      Closes issue #299.
    * Add support for combining the Python 3 checker mode with the --jobs

OBS-URL: https://build.opensuse.org/request/show/290392
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=60
2015-03-12 09:26:01 +00:00
Michal Čihař
f7265cea79 Accepting request 286614 from home:Nijel:branches:devel:languages:python
- Update to 1.4.1:
    * Look only in the current function's scope for bad-super-call.
      Closes issue #403.
    * Check the return of properties when checking for not-callable.
      Closes issue #406.
    * Warn about using the input() or round() built-ins for Python 3.
      Closes issue #411.
    * Proper abstract method lookup while checking for
      abstract-class-instantiated. Closes issue #401.
    * Use a mro traversal for finding abstract methods. Closes issue #415.
    * Fix a false positive with catching-non-exception and tuples of
      exceptions.
    * Fix a false negative with raising-non-exception, when the raise used
      an uninferrable exception context.
    * Fix a false positive on Python 2 for raising-bad-type, when
      raising tuples in the form 'raise (ZeroDivisionError, None)'.
    * Fix a false positive with invalid-slots-objects, where the slot entry
      was an unicode string on Python 2. Closes issue #421.
    * Add a new warning, 'redundant-unittest-assert', emitted when using
      unittest's methods assertTrue and assertFalse with constant value
      as argument. Patch by Vlad Temian.
    * Add a new JSON reporter, usable through -f flag.
    * Add the method names for the 'signature-differs' and 'argument-differs'
      warnings. Closes issue #433.
    * Don't compile test files when installing.
    * Fix a crash which occurred when using multiple jobs and the files
      given as argument didn't exist at all.

OBS-URL: https://build.opensuse.org/request/show/286614
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=59
2015-02-18 12:26:53 +00:00
Michal Čihař
74b4f7bbbe Accepting request 264382 from home:Nijel:branches:devel:languages:python
- Lower tk dependency to Recommends as it's only needed for optional GUI

- Update to 1.4.0:
    * Added new options for controlling the loading of C extensions.
      By default, only C extensions from the stdlib will be loaded
      into the active Python interpreter for inspection, because they
      can run arbitrary code on import. The option 
      `--extension-pkg-whitelist` can be used to specify modules
      or packages that are safe to load.
    * Change default max-line-length to 100 rather than 80
    * Drop BaseRawChecker class which were only there for backward
      compat for a while now
    * Don't try to analyze string formatting with objects coming from
      function arguments. Closes issue #373.
    * Port source code to be Python 2/3 compatible. This drops the
      need for 2to3, but does drop support for Python 2.5.
    * Each message now comes with a confidence level attached, and
      can be filtered base on this level. This allows to filter out
      all messages that were emitted even though an inference failure
      happened during checking.
    * Improved presenting unused-import message. Closes issue #293.
    * Add new checker for finding spelling errors. New messages:
      wrong-spelling-in-comment, wrong-spelling-in-docstring.
      New options: spelling-dict, spelling-ignore-words.
    * Add new '-j' option for running checks in sub-processes.
    * Added new checks for line endings if they are mixed (LF vs CRLF)
      or if they are not as expected. New messages: mixed-line-endings,
      unexpected-line-ending-format. New option: expected-line-ending-format.
    * 'dangerous-default-value' no longer evaluates the value of the arguments,
      which could result in long error messages or sensitive data being leaked.

OBS-URL: https://build.opensuse.org/request/show/264382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=58
2014-12-08 10:30:09 +00:00
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