From 9debae03a4123b9be6a115bf2b784cd5919be3e056da9d4ee5ebfd19f6ad0c11 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 12 Sep 2022 20:30:46 +0000 Subject: [PATCH] - update to 2.15.2: * Fixed a case where custom plugins specified by command line could silently fail. * Fix ``used-before-assignment`` for functions/classes defined in type checking guard. * Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list. * The ``docparams`` extension now considers typing in Numpy style docstrings * Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation. * Fix false positive for ``too-many-function-args`` when a function call is assigned to a class attribute inside the class where the function is defined. * Fix ``used-before-assignment`` for functions/classes defined in type checking guard. * Fix ignored files being linted when passed on stdin. * ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect * Don't crash on ``OSError`` in config file discovery. * ``disable-next`` is now correctly scoped to only the succeeding line. * Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=131 --- pylint-2.15.0-gh.tar.gz | 3 --- pylint-2.15.2-gh.tar.gz | 3 +++ python-pylint.changes | 17 +++++++++++++++++ python-pylint.spec | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 pylint-2.15.0-gh.tar.gz create mode 100644 pylint-2.15.2-gh.tar.gz diff --git a/pylint-2.15.0-gh.tar.gz b/pylint-2.15.0-gh.tar.gz deleted file mode 100644 index a63b2c3..0000000 --- a/pylint-2.15.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8613db371f99fdb9ae7c7f851d3115d6824186dc844e9998fe37d38049cd7e27 -size 1304038 diff --git a/pylint-2.15.2-gh.tar.gz b/pylint-2.15.2-gh.tar.gz new file mode 100644 index 0000000..44c9b8c --- /dev/null +++ b/pylint-2.15.2-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c311dbdbb3261ec999b0403587ae798c3e43adfe1f70c5a9102ba0b9ce317e8 +size 1309122 diff --git a/python-pylint.changes b/python-pylint.changes index d4cac70..277d269 100644 --- a/python-pylint.changes +++ b/python-pylint.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Sep 12 20:22:59 UTC 2022 - Dirk Müller + +- update to 2.15.2: + * Fixed a case where custom plugins specified by command line could silently fail. + * Fix ``used-before-assignment`` for functions/classes defined in type checking guard. + * Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list. + * The ``docparams`` extension now considers typing in Numpy style docstrings + * Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation. + * Fix false positive for ``too-many-function-args`` when a function call is assigned to a class attribute inside the class where the function is defined. + * Fix ``used-before-assignment`` for functions/classes defined in type checking guard. + * Fix ignored files being linted when passed on stdin. + * ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect + * Don't crash on ``OSError`` in config file discovery. + * ``disable-next`` is now correctly scoped to only the succeeding line. + * Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list. + ------------------------------------------------------------------- Sat Aug 27 10:01:43 UTC 2022 - Ben Greiner diff --git a/python-pylint.spec b/python-pylint.spec index 019c9f2..f95784e 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -18,7 +18,7 @@ %bcond_without tests Name: python-pylint -Version: 2.15.0 +Version: 2.15.2 Release: 0 Summary: Syntax and style checker for Python code License: GPL-2.0-or-later