./devel/py-pylint, Python source code analyzer

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.8.1, Package name: py27-pylint-1.8.1, Maintainer: helgoman

Pylint is a Python source code analyzer which looks for programming
errors, helps enforcing a coding standard and sniffs for some code
smells (as defined in Martin Fowler's Refactoring book).
Pylint can be seen as another PyChecker since nearly all tests you
can do with PyChecker can also be done with Pylint. However, Pylint
offers some more features, like checking length of lines of code,
checking if variable names are well-formed according to your coding
standard, or checking if declared interfaces are truly implemented,
and much more. . Additionally, it is possible to write plugins to
add your own checks.

Required to run:
[devel/py-setuptools] [lang/python27] [lang/py-six] [devel/py-astroid] [devel/py-mccabe] [devel/py-singledispatch] [devel/py-configparser] [devel/py-isort] [devel/py-backports.functools_lru_cache]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

SHA1: 3ae272e5e78041a65cbc8cd812334887cc622f95
RMD160: b54be8a8027a536a298ed1956803e84a5b8d9e3a
Filesize: 515.859 KB

Version history: (Expand)

CVS history: (Expand)

   2017-12-17 17:32:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pylint: updated to 1.8.1

What's New in Pylint 1.8.1
* Wrong version number in __pkginfo__.

What's New in Pylint 1.8
* Respect disable=... in config file when running with --py3k.
* New warning shallow-copy-environ added
  Shallow copy of os.environ doesn't work as people may expect. os.environ
  is not a dict object but rather a proxy object, so any changes made
  on copy may have unexpected effects on os.environ
  Instead of copy.copy(os.environ) method os.environ.copy() should be
* Do not display no-absolute-import warning multiple times per file.
* trailing-comma-tuple refactor check now extends to assignment with
   more than one element (such as lists)
* Fixing u'' string in superfluous-parens message
* abstract-class-instantiated is now emitted for all inference paths.
* Add set of predefined naming style to ease configuration of checking
  naming conventions.
* Added a new check, keyword-arg-before-vararg
  This is emitted for function definitions
  in which keyword arguments are placed before variable
  positional arguments (*args).
  This may lead to args list getting modified if keyword argument's value
  is not provided in the function call assuming it will take default value
  provided in the definition.
* The invalid-name check contains the name of the template that caused the failure
* Using the -j flag won't start more child linters than needed.
* Fix a false positive with bad-python3-import on relative imports
* Added a new Python 3 check, non-ascii-bytes-literals
* Added a couple of new Python 3 checks for accessing dict methods in \ 
non-iterable context
* Protocol checks (not-a-mapping, not-an-iterable and co.) aren't emitted on \ 
classes with dynamic getattr
* Added a new warning, 'bad-thread-instantiation'
  This message is emitted when the threading.Thread class does not
  receive the target argument, but receives just one argument, which
  is by default the group parameter.
* In non-quiet mode, absolute path of used config file is logged to
  standard error.
* Raise meaningful exception for invalid reporter class being selected
  When unknown reporter class will be selected as Pylint reporter,
  meaningful error message would be raised instead of bare ImportError
  or AttribueError related to module or reporter class being not found.
* Added a new Python 3 check for accessing removed functions from itertools
  like izip or ifilterfalse
* Added a new Python 3 check for accessing removed fields from the types
  module like UnicodeType or XRangeType
* Added a new Python 3 check for declaring a method next that would have
  been treated as an iterator in Python 2 but a normal function in Python 3.
* Added a new key-value pair in json output. The key is message-id
  and the value is the message id.
* Added a new Python 3.0 check for raising a StopIteration inside a generator.
  The check about raising a StopIteration inside a generator is also valid if \ 
the exception
  raised inherit from StopIteration.
* Added a new warning, raising-format-tuple, to detect multi-argument
  exception construction instead of message string formatting.
* Added a new check for method of logging module that concatenate string via + \ 
* Added parameter for limiting number of suggestions in spellchecking checkers
* Fix a corner-case in consider-using-ternary checker.
  When object A used in  X and A or B was falsy in boolean context,
  Pylint incorrectly emitted non-equivalent ternary-based suggestion.
  After a change message is correctly not emitted for this case.
* Added suggestion-mode configuration flag. When flag is enabled, informational
  message is emitted instead of cryptic error message for attributes accessed on
* Fix a false positive useless-super-delegation message when
  parameters default values are different from those used in the base class.
* Disabling 'wrong-import-order', 'wrong-import-position', or
  'ungrouped-imports' for a single line now prevents that line from
  triggering violations on subsequent lines.
* Added a new Python check for inconsistent return statements inside method or \ 
* Fix superfluous-parens false positive related to handling logical statements
  involving in operator.
* function-redefined message is no longer emitted for functions and
  methods which names matches dummy variable name regular expression.
* Fix missing-param-doc and missing-type-doc false positives when
  mixing Args and Keyword Args in Google docstring.
* Fix missing-docstring false negatives when modules, classes, or methods
 consist of compound statements that exceed the docstring-min-length
* Fix useless-else-on-loop false positives when break statements are
  deeply nested inside loop.
* Fix no wrong-import-order message emitted on ordering of first and third party
  libraries. With this fix, pylint distinguishes third and first party
  modules when checking import order.
* Fix pylint disable=fixme directives ignored for comments following the
  last statement in a file.
* Fix line-too-long message deactivated by wrong disable directive.
  The directive disable=fixme doesn't deactivate anymore the emission
  of line-too-long message for long commented lines.
* If the rcfile specified on the command line doesn't exist, then an
  IOError exception is raised.
   2017-12-12 09:38:18 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pylint: updated to 1.7.5

Pylint 1.7.5:
* Removed `stat` from the list of moved Python 3 modules.
* Backported `trailing-comma-tuple`
  Previously this check was only emitted on Python 3. Now it is
  also emitted on Python 2.
   2017-10-02 01:30:50 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Needs py-test-runner.
   2017-09-30 15:58:36 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-pylint: removed buildlink3.mk
   2017-09-30 11:47:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pylint: update to 1.7.4

Bug fixes.
   2017-07-16 22:35:13 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Also removed unused patches
   2017-07-16 22:33:32 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Pylint 1.7.2:
* enum34 dependency is forced to be at least version 1.1.3. Fixes spurious
  bug related to enum classes being falsy in boolean context, which caused
  _Inconsistent Hierarchy_ `RuntimeError` in `singledispatch` module.
   2017-03-01 14:08:44 by Filip Hajny | Files touched by this commit (6) | Package updated
Log message:
Update devel/py-pylint to 1.6.5.

- Change to use ALTERNATIVES to avoid conflicts between Python versions.

Pylint 1.6.5
- Copyright and doc changes only

Pylint 1.6.4
- Recurse into all the ancestors when checking if an object is an

Pylint 1.6.3
- Do not crash when inferring uninferable exception types for docparams

Pylint 1.6.2
- Do not crash when printing the help of options with default regular
- More granular versions for deprecated modules.
- Do not crash in docparams when we can't infer the exception types.