pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-pylint



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 16 06:59:22 UTC 2018

Modified Files:
        pkgsrc/devel/py-pylint: Makefile distinfo

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).


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-pylint/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-pylint/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-pylint/Makefile
diff -u pkgsrc/devel/py-pylint/Makefile:1.23 pkgsrc/devel/py-pylint/Makefile:1.24
--- pkgsrc/devel/py-pylint/Makefile:1.23        Fri Apr  6 12:13:15 2018
+++ pkgsrc/devel/py-pylint/Makefile     Wed May 16 06:59:22 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2018/04/06 12:13:15 adam Exp $
+# $NetBSD: Makefile,v 1.24 2018/05/16 06:59:22 adam Exp $
 
-DISTNAME=      pylint-1.8.4
+DISTNAME=      pylint-1.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylint/}

Index: pkgsrc/devel/py-pylint/distinfo
diff -u pkgsrc/devel/py-pylint/distinfo:1.12 pkgsrc/devel/py-pylint/distinfo:1.13
--- pkgsrc/devel/py-pylint/distinfo:1.12        Fri Apr  6 08:35:07 2018
+++ pkgsrc/devel/py-pylint/distinfo     Wed May 16 06:59:22 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2018/04/06 08:35:07 adam Exp $
+$NetBSD: distinfo,v 1.13 2018/05/16 06:59:22 adam Exp $
 
-SHA1 (pylint-1.8.4.tar.gz) = 9a6cc57a0cea5e0d0169336c161b0bfa50cddcfe
-RMD160 (pylint-1.8.4.tar.gz) = d7d436ec4345c24fc1e574469f6e566fc319d9be
-SHA512 (pylint-1.8.4.tar.gz) = 07e55ed3f09326e1973215046e3b172f6065a7ed0ae657cba7a6825a26bb103bdbf8b83126bafd99f332fe0eec3547bcd6e618d6e9f612ddcf9c504bb850dcd9
-Size (pylint-1.8.4.tar.gz) = 512582 bytes
+SHA1 (pylint-1.9.0.tar.gz) = 56b55b552072edb0a305dfab195ef1a2708ccde3
+RMD160 (pylint-1.9.0.tar.gz) = 45e99999b0cae63e9c62ecf4193cf6dc3e6c6957
+SHA512 (pylint-1.9.0.tar.gz) = 5c26e4b164a40c3dbb1e3ae753969233018523edbe1971c3e0afe0ed1037baac0cfb9c52024a934808dcac53352166e937360b4673127e8d6792a27c02b85326
+Size (pylint-1.9.0.tar.gz) = 534834 bytes



Home | Main Index | Thread Index | Old Index