Subject: CVS commit: pkgsrc/devel/py-pylint
From: Adam Ciarcinski
Date: 2018-05-16 08:59:22
Message id: 20180516065922.44ACEFBEC@cvs.NetBSD.org

Log Message:
py-pylint: updated to 1.9.0

1.9.0:
* Added two new Python 3 porting checks, exception-escape and comprehension-escape
* Added a new deprecated-sys-function, emitted when accessing removed sys members.
* Added xreadlines-attribute, emitted when the xreadlines() attribute is accessed.
* The Python 3 porting mode can now run with Python 3 as well.
* docparams extension allows abstract methods to document what overriding
  implementations should return, and to raise NotImplementedError without
  documenting it.
* Special methods do not count towards too-few-methods,
  and are considered part of the public API.
* Enum classes do not trigger too-few-methods
* undefined-loop-variable takes in consideration non-empty iterred objects \ 
before emitting
* Add support for nupmydoc optional return value names.
* singleton-comparison accounts for negative checks
* Add a check consider-using-in for comparisons of a variable against
  multiple values with "==" and "or"s instead of checking if \ 
the variable
  is contained "in" a tuple of those values.
* defaultdict and subclasses of dict are now handled for dict-iter-* checks
* Added a new Python 2/3 check for accessing operator.div, which is removed in \ 
Python 3
* Added a new Python 2/3 check for accessing removed urllib functions
* logging-format-interpolation also emits when f-strings are used instead of % \ 
syntax.
* Don't trigger misplaced-bare-raise when the raise is in a finally clause
* Add a new check, possibly-unused-variable.
* no-else-return accounts for multiple cases
* Added two new checks, invalid-envvar-value and invalid-envvar-default.
* Add a check consider-using-join for concatenation of strings using \ 
str.join(sequence)
* Add a check consider-swap-variables for swapping variables with tuple unpacking
* Add new checker try-except-raise that warns the user if an except handler block
  has a raise statement as its first operator. The warning is shown when there is
  a bare raise statement, effectively re-raising the exception that was caught or the
  type of the exception being raised is the same as the one being handled.
* Don't crash on invalid strings when checking for logging-format-interpolation
* Exempt __doc__ from triggering a redefined-builtin
  __doc__ can be used to specify a docstring for a module without
  passing it as a first-statement string.
* Fix false positive bad-whitespace from function arguments with default
  values and annotations
* Fix stop-iteration-return false positive when next builtin has a
  default value in a generator
* Fix emission of false positive no-member message for class with  \ 
"private" attributes whose name is mangled.
* Fixed a crash which occurred when Uninferable wasn't properly handled in \ 
stop-iteration-return
* Use the proper node to get the name for redefined functions
* Don't crash when encountering bare raises while checking inconsistent returns
* Fix a false positive inconsistent-return-statements message when if statement \ 
is inside try/except.
* Fix a false positive inconsistent-return-statements message when while loop \ 
are used.
* Correct column number for whitespace conventions.
* Fix unused-argument false positives with overshadowed variable in
  dictionary comprehension.
* Fix false positive inconsistent-return-statements message when never
  returning functions are used (i.e sys.exit for example).
* Fix error when checking if function is exception, as in bad-exception-context.
* Fix false positive inconsistent-return-statements message when a
  function is defined under an if statement.
* New useless-return message when function or method ends with a \ 
"return" or
  "return None" statement and this is the only return statement in the \ 
body.
* Fix false positive inconsistent-return-statements message by
  avoiding useless exception inference if the exception is not handled.
* Fix bad thread instantiation check when target function is provided in args.
* Fixed false positive when a numpy Attributes section follows a Parameters
  section
* Fix incorrect file path when file absolute path contains multiple \ 
path_strip_prefix strings.
* Fix false positive undefined-variable for lambda argument in
    class definitions
* Add of a new checker that warns the user if some messages are enabled or disabled
  by id instead of symbol.
* Suppress false-positive not-callable messages from certain
  staticmethod descriptors
* Fix indentation handling with tabs
* Fix false-positive bad-continuation error
* Updated the default report format to include paths that can be clicked on in \ 
some terminals (e.g. iTerm).

Files:
RevisionActionfile
1.24modifypkgsrc/devel/py-pylint/Makefile
1.13modifypkgsrc/devel/py-pylint/distinfo