Subject: CVS commit: pkgsrc/devel/py-pylint
From: Adam Ciarcinski
Date: 2018-08-02 17:19:23
Message id: 20180802151923.4D364FBEC@cvs.NetBSD.org

Log Message:
py-pylint: updated to 2.1.0

What's New in Pylint 2.1?

   * trailing-comma-tuple gets emitted for yield statements as well.

   * Get only the arguments of the scope function for redefined-argument-from-local

   * Add a check misplaced-format-function which is emitted if format function \ 
is used on
     non str object.

   * chain.from_iterable no longer emits dict-{}-not-iterating when dealing with \ 
dict values and keys

   * Demote the try-except-raise message from an error to a warning (E0705 -> \ 
W0706)

   * Correctly handle the new name of the Python implementation of the abc module.

    * Modules with __getattr__ are exempted by default from no-member

      There's no easy way to figure out if a module has a particular member when
      the said module uses __getattr__, which is a new addition to Python 3.7.
      Instead we assume the safe thing to do, in the same way we do for classes,
      and skip those modules from checking.

    * Fix a false positive invalid name message when method or attribute name is \ 
longer then 30 characters.

    * Include the type of the next branch in no-else-return

    * Fix inconsistent behaviour for bad-continuation on first line of file

     * Fix not being able to disable certain messages on the last line through
       the global disable option

    * Don't emit useless-return when we have a single statement that is the \ 
return itself

      We still want to be explicit when a function is supposed to return
      an optional value; even though pass could still work, it's not explicit
      enough and the function might look like it's missing an implementation.

   * Fix false-positive undefined-variable for self referential class name in lamdbas

    * Don't crash when pylint is unable to infer the value of an argument to next()

    * Don't emit not-an-iterable when dealing with async iterators.

      But do emit it when using the usual iteration protocol against
      async iterators.

   * Can specify a default docstring type for when the check cannot guess the type

Files:
RevisionActionfile
1.29modifypkgsrc/devel/py-pylint/Makefile
1.12modifypkgsrc/devel/py-pylint/PLIST
1.18modifypkgsrc/devel/py-pylint/distinfo