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: Tue Oct 26 12:22:15 UTC 2021
Modified Files:
pkgsrc/devel/py-pylint: Makefile PLIST distinfo
Log Message:
py-pylint: updated to 2.11.1
What's New in Pylint 2.11.1?
============================
* ``unspecified-encoding`` now checks the encoding of ``pathlib.Path()`` correctly
What's New in Pylint 2.11.0?
============================
* The python3 porting mode checker and it's ``py3k`` option were removed. You can still find it in older pylint
versions.
* ``raising-bad-type`` is now properly emitted when raising a string
* Added new extension ``SetMembershipChecker`` with ``use-set-for-membership`` check:
Emitted when using an in-place defined ``list`` or ``tuple`` to do a membership test. ``sets`` are better optimized for that.
* Added ``py-version`` config key (if ``[MASTER]`` section). Used for version dependant checks.
Will default to whatever Python version pylint is executed with.
* ``CodeStyleChecker``
* Added ``consider-using-assignment-expr``: Emitted when an assignment is directly followed by an if statement
and both can be combined by using an assignment expression ``:=``. Requires Python 3.8
* Added ``consider-using-f-string``: Emitted when .format() or '%' is being used to format a string.
* Fix false positive for ``consider-using-with`` if a context manager is assigned to a
variable in different paths of control flow (e. g. if-else clause).
* https is now prefered in the documentation and http://pylint.pycqa.org correctly redirect to https://pylint.pycqa.org
* Fix false positive for ``function-redefined`` for simple type annotations
* Fix false positive for ``protected-access`` if a protected member is used in type hints of function definitions
* Fix false positive ``dict-iter-missing-items`` for dictionaries only using tuples as keys
* The ``unspecified-encoding`` checker now also checks calls to ``pathlib.Path().read_text()``
and ``pathlib.Path().write_text()``
* Fix false positive ``superfluous-parens`` for tuples created with inner tuples
* Fix false positive ``unused-private-member`` for accessing attributes in a class using ``cls``
* Fix false positive ``unused-private-member`` for private staticmethods accessed in classmethods.
* Extended ``consider-using-in`` check to work for attribute access.
* Setting ``min-similarity-lines`` to 0 now makes the similarty checker stop checking for duplicate code
* Fix a bug where pylint complained if the cache's parent directory does not exist
* The ``global-variable-not-assigned`` checker now catches global variables that are never reassigned in a
local scope and catches (reassigned) functions
* Fix false positives for invalid-all-format that are lists or tuples at runtime
* Fix ``no-self-use`` and ``docparams extension`` for async functions and methods.
* Add documentation for ``pyreverse`` and ``symilar``
* Non symbolic messages with the wrong capitalisation now correctly trigger ``use-symbolic-message-instead``
* The ``consider-iterating-dictionary`` checker now also considers membership checks
* The ``invalid-name`` message is now more detailed when using multiple naming style regexes.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/devel/py-pylint/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-pylint/PLIST
cvs rdiff -u -r1.46 -r1.47 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.55 pkgsrc/devel/py-pylint/Makefile:1.56
--- pkgsrc/devel/py-pylint/Makefile:1.55 Mon Sep 13 06:52:31 2021
+++ pkgsrc/devel/py-pylint/Makefile Tue Oct 26 12:22:15 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2021/09/13 06:52:31 adam Exp $
+# $NetBSD: Makefile,v 1.56 2021/10/26 12:22:15 adam Exp $
-DISTNAME= pylint-2.10.2
+DISTNAME= pylint-2.11.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylint/}
@@ -10,7 +10,7 @@ HOMEPAGE= https://www.pylint.org/
COMMENT= Python source code analyzer
LICENSE= gnu-gpl-v2
-DEPENDS+= ${PYPKGPREFIX}-astroid>=2.7.2:../../devel/py-astroid
+DEPENDS+= ${PYPKGPREFIX}-astroid>=2.8.0:../../devel/py-astroid
DEPENDS+= ${PYPKGPREFIX}-isort>=4.2.5:../../devel/py-isort
DEPENDS+= ${PYPKGPREFIX}-mccabe>=0.6:../../devel/py-mccabe
DEPENDS+= ${PYPKGPREFIX}-platformdirs>=2.2.0:../../misc/py-platformdirs
@@ -20,6 +20,11 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 310
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10:../../devel/py-typing-extensions
+.endif
+
post-install:
.for file in epylint pylint pyreverse symilar
cd ${DESTDIR}${PREFIX}/bin && \
Index: pkgsrc/devel/py-pylint/PLIST
diff -u pkgsrc/devel/py-pylint/PLIST:1.23 pkgsrc/devel/py-pylint/PLIST:1.24
--- pkgsrc/devel/py-pylint/PLIST:1.23 Mon Sep 13 06:52:31 2021
+++ pkgsrc/devel/py-pylint/PLIST Tue Oct 26 12:22:15 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2021/09/13 06:52:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.24 2021/10/26 12:22:15 adam Exp $
bin/epylint-${PYVERSSUFFIX}
bin/pylint-${PYVERSSUFFIX}
bin/pyreverse-${PYVERSSUFFIX}
@@ -60,9 +60,6 @@ ${PYSITELIB}/pylint/checkers/misc.pyo
${PYSITELIB}/pylint/checkers/newstyle.py
${PYSITELIB}/pylint/checkers/newstyle.pyc
${PYSITELIB}/pylint/checkers/newstyle.pyo
-${PYSITELIB}/pylint/checkers/python3.py
-${PYSITELIB}/pylint/checkers/python3.pyc
-${PYSITELIB}/pylint/checkers/python3.pyo
${PYSITELIB}/pylint/checkers/raw_metrics.py
${PYSITELIB}/pylint/checkers/raw_metrics.pyc
${PYSITELIB}/pylint/checkers/raw_metrics.pyo
@@ -186,6 +183,9 @@ ${PYSITELIB}/pylint/extensions/overlappi
${PYSITELIB}/pylint/extensions/redefined_variable_type.py
${PYSITELIB}/pylint/extensions/redefined_variable_type.pyc
${PYSITELIB}/pylint/extensions/redefined_variable_type.pyo
+${PYSITELIB}/pylint/extensions/set_membership.py
+${PYSITELIB}/pylint/extensions/set_membership.pyc
+${PYSITELIB}/pylint/extensions/set_membership.pyo
${PYSITELIB}/pylint/extensions/typing.py
${PYSITELIB}/pylint/extensions/typing.pyc
${PYSITELIB}/pylint/extensions/typing.pyo
@@ -297,6 +297,9 @@ ${PYSITELIB}/pylint/reporters/text.pyo
${PYSITELIB}/pylint/reporters/ureports/__init__.py
${PYSITELIB}/pylint/reporters/ureports/__init__.pyc
${PYSITELIB}/pylint/reporters/ureports/__init__.pyo
+${PYSITELIB}/pylint/reporters/ureports/base_writer.py
+${PYSITELIB}/pylint/reporters/ureports/base_writer.pyc
+${PYSITELIB}/pylint/reporters/ureports/base_writer.pyo
${PYSITELIB}/pylint/reporters/ureports/nodes.py
${PYSITELIB}/pylint/reporters/ureports/nodes.pyc
${PYSITELIB}/pylint/reporters/ureports/nodes.pyo
@@ -330,6 +333,9 @@ ${PYSITELIB}/pylint/testutils/lint_modul
${PYSITELIB}/pylint/testutils/output_line.py
${PYSITELIB}/pylint/testutils/output_line.pyc
${PYSITELIB}/pylint/testutils/output_line.pyo
+${PYSITELIB}/pylint/testutils/pyreverse.py
+${PYSITELIB}/pylint/testutils/pyreverse.pyc
+${PYSITELIB}/pylint/testutils/pyreverse.pyo
${PYSITELIB}/pylint/testutils/reporter_for_tests.py
${PYSITELIB}/pylint/testutils/reporter_for_tests.pyc
${PYSITELIB}/pylint/testutils/reporter_for_tests.pyo
@@ -339,6 +345,9 @@ ${PYSITELIB}/pylint/testutils/tokenize_s
${PYSITELIB}/pylint/testutils/unittest_linter.py
${PYSITELIB}/pylint/testutils/unittest_linter.pyc
${PYSITELIB}/pylint/testutils/unittest_linter.pyo
+${PYSITELIB}/pylint/typing.py
+${PYSITELIB}/pylint/typing.pyc
+${PYSITELIB}/pylint/typing.pyo
${PYSITELIB}/pylint/utils/__init__.py
${PYSITELIB}/pylint/utils/__init__.pyc
${PYSITELIB}/pylint/utils/__init__.pyo
Index: pkgsrc/devel/py-pylint/distinfo
diff -u pkgsrc/devel/py-pylint/distinfo:1.46 pkgsrc/devel/py-pylint/distinfo:1.47
--- pkgsrc/devel/py-pylint/distinfo:1.46 Tue Oct 26 10:18:48 2021
+++ pkgsrc/devel/py-pylint/distinfo Tue Oct 26 12:22:15 2021
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.46 2021/10/26 10:18:48 nia Exp $
+$NetBSD: distinfo,v 1.47 2021/10/26 12:22:15 adam Exp $
-BLAKE2s (pylint-2.10.2.tar.gz) = 9ed4a361941980995ec98c062a918722ec9ecb3506cabba007b9ace7eb5cb839
-SHA512 (pylint-2.10.2.tar.gz) = 70121f19e51a5373634b92b8c5f3240dbc70ba1803bff4ab2d7c4b7b2a47d7c586b1a69df6a8b55607bc7fb201af57d40c668d297508ec21778541d674ab049f
-Size (pylint-2.10.2.tar.gz) = 331067 bytes
+BLAKE2s (pylint-2.11.1.tar.gz) = fc0f7ad05d74be93e2881757e59acaa0660b94071a4bc105f0b094063816f30e
+SHA512 (pylint-2.11.1.tar.gz) = 511fae0a7778d4f7337947983ae7972d4b0caeca475f11955b3e359bc1347163e213cd25c095bc76ef2ae20e3fdfbcbcdce0607a8e62a776c57e5410536edfbf
+Size (pylint-2.11.1.tar.gz) = 327130 bytes
Home |
Main Index |
Thread Index |
Old Index