Commit Graph

  • ba2caccb60 Accepting request 1329152 from devel:languages:python factory Ana Guerrero 2026-01-26 11:34:33 +00:00
  • b56185721f - update to 4.0.4: * Fixed false positive for `invalid-name where module-level constants were incorrectly classified as variables when a class-level attribute with the same name exists. * Closes #10719 * Fix a false positive for invalid-name on an UPPER_CASED name inside an if` branch that assigns an object. * Closes #10745 Dirk Mueller 2026-01-26 08:09:02 +00:00
  • bc5e73b303 Accepting request 1318121 from devel:languages:python Ana Guerrero 2025-11-18 14:33:38 +00:00
  • e1070db6fc - Update to 4.0.3: * Add Enum dunder methods _generate_next_value_, _missing_, _numeric_repr_, _add_alias_, and _add_value_alias_ to the list passed to --good-dunder-names. * Fixed false positive for invalid-name with typing.Annotated. * Fix false positive for f-string-without-interpolation with template strings when using format spec. * Fix a false positive when an UPPER_CASED class attribute was raising an invalid-name when typed with Final. * Fix a false positive for unbalanced-tuple-unpacking when a tuple is assigned to a function call and the structure of the function's return value is ambiguous. * Make 'ignore' option work as expected again. * Fix crash for consider-using-assignment-expr when a variable annotation without assignment is used as the if test expression. * Fix crash for prefer-typing-namedtuple and consider-math-not-float when a slice object is called. * Fix false positive for invalid-name on a partially uninferable module-level constant. * Fix a false positive for invalid-name on exclusive module-level assignments composed of three or more branches. * Fix false positive for invalid-name for TypedDict instances. * Fix false-positive for bare-name-capture-pattern if a case guard is used. * Check enums created with the Enum() functional syntax to pass against the --class-rgx for the invalid-name check, like other enums. * Pylint now supports Python 3.14. * Pylint's inference engine (astroid) is now much more precise, understanding implicit booleanness and ternary expressions. The required astroid version is now 4.0.0. * Handling of invalid-name at the module level was patchy. Now, Steve Kowalik 2025-11-17 04:34:22 +00:00
  • dc1b38cc2a Convert to libalternatives, bsc#1245883 slfo-main Daniel Garcia Moreno 2025-10-23 11:46:25 +02:00
  • e01ca9e310 Accepting request 1304654 from devel:languages:python Ana Guerrero 2025-09-15 17:52:06 +00:00
  • d078e20d34 - update to 3.3.8: * Fix false positives for possibly-used-before-assignment when variables are exhaustively assigned within a match block. * Fix false positive for missing-raises-doc and missing- yield-doc when the method length is less than docstring-min- length. * Fix a false positive for `unused-variable when multiple except handlers bind the same name under a try block. * Fix false-negative for used-before-assignment with from __future__ import annotations` in function definitions. * Fix a bug in Pyreverse where aggregations and associations were included in diagrams regardless of the selected --filter-mode (such as PUB_ONLY, ALL, etc.). * Fix double underscores erroneously rendering as bold in pyreverse's Mermaid output. Dirk Mueller 2025-09-14 18:18:33 +00:00
  • 239059940d Accepting request 1302173 from devel:languages:python Ana Guerrero 2025-09-01 15:18:30 +00:00
  • 69144e3c0f - Convert to libalternatives on SLE-16-based and newer systems Markéta Machová 2025-08-25 09:57:18 +00:00
  • 7bda9832a3 Accepting request 1285157 from devel:languages:python slfo-1.2 Ana Guerrero 2025-06-12 14:47:00 +00:00
  • 31f23885e5 Accepting request 1285157 from devel:languages:python Ana Guerrero 2025-06-12 14:47:00 +00:00
  • 68125fbbf2 Fix .changes file, osc service runall source_validator Daniel Garcia 2025-06-12 12:41:56 +00:00
  • 42ed386df8 Fix .changes file, osc service runall source_validator Daniel Garcia 2025-06-12 12:41:56 +00:00
  • e09e013026 Accepting request 1277673 from devel:languages:python Ana Guerrero 2025-05-15 15:02:25 +00:00
  • 674d58c553 Accepting request 1277673 from devel:languages:python Ana Guerrero 2025-05-15 15:02:25 +00:00
  • bd44e7f673 - Update to 3.3.7 * Comparisons between two calls to type() won't raise an `unidiomatic-typecheck warning anymore, consistent with the behavior applied only for == previously. * Fixed a crash when importing a class decorator that did not exist with the same name as a class attribute after the class definition. * Fix a crash caused by malformed format strings when using .format with keyword arguments. * Using a slice as a class decorator now raises a not-callable message instead of crashing. A lot of checks that dealt with decorators (too many to list) are now shortcut if the decorator can't immediately be inferred to a function or class definition. * The algorithm used for no-member` suggestions is now more efficient and cuts the calculation when the distance score is already above the threshold. Markéta Machová 2025-05-15 09:40:12 +00:00
  • a52f4ae78a Accepting request 1277663 from home:glaubitz:branches:devel:languages:python Markéta Machová 2025-05-15 09:40:12 +00:00
  • 35e536ea68 Accepting request 1267802 from devel:languages:python Ana Guerrero 2025-04-16 18:39:15 +00:00
  • 7756c05c48 Accepting request 1267802 from devel:languages:python Ana Guerrero 2025-04-16 18:39:15 +00:00
  • 334ede9612 - Update to 3.3.6: * Fix a false positive for used-before-assignment when an inner function's return type * annotation is a class defined at module scope. * Fix false positives for use-implicit-booleaness-not-comparison, use-implicit-booleaness-not-comparison-to-string and use-implicit-booleaness-not-comparison-to-zero when chained comparisons are checked. * Fix a false positive for invalid-getnewargs-ex-returned when the tuple or dict has been assigned to a name. * Remove getopt and optparse from the list of deprecated modules. * Fixed conditional import x.y causing false positive possibly-used-before-assignment. * Fix a crash when something besides a class is found in an except handler. * Fixed raising invalid-name when using camelCase for private methods with two leading underscores. * Fixes "skipped files" count calculation; the previous method was displaying an arbitrary number. * Fixes a crash that occurred when pylint was run in a container on a host with cgroupsv2 and restrictions on CPU usage. * Relaxed the requirements for isort so pylint can benefit from isort 6. * Fix false positives for undefined-variable for classes using Python 3.12 generic type syntax. * Fix a false positive for use-implicit-booleaness-not-len. No lint should be emitted for generators (len is not defined for generators). * Fix Unable to import 'collections.abc' (import-error) on Python 3.13.1. * Fix a false positive for potential-index-error when an indexed iterable contains a starred element that evaluates to more than one item. * Fixes the issue with --source-root option not working when the source files are in a subdirectory of the source root (e.g. when using a /src layout). Steve Kowalik 2025-04-08 03:29:42 +00:00
  • e8551a215f - Update to 3.3.6: * Fix a false positive for used-before-assignment when an inner function's return type * annotation is a class defined at module scope. * Fix false positives for use-implicit-booleaness-not-comparison, use-implicit-booleaness-not-comparison-to-string and use-implicit-booleaness-not-comparison-to-zero when chained comparisons are checked. * Fix a false positive for invalid-getnewargs-ex-returned when the tuple or dict has been assigned to a name. * Remove getopt and optparse from the list of deprecated modules. * Fixed conditional import x.y causing false positive possibly-used-before-assignment. * Fix a crash when something besides a class is found in an except handler. * Fixed raising invalid-name when using camelCase for private methods with two leading underscores. * Fixes "skipped files" count calculation; the previous method was displaying an arbitrary number. * Fixes a crash that occurred when pylint was run in a container on a host with cgroupsv2 and restrictions on CPU usage. * Relaxed the requirements for isort so pylint can benefit from isort 6. * Fix false positives for undefined-variable for classes using Python 3.12 generic type syntax. * Fix a false positive for use-implicit-booleaness-not-len. No lint should be emitted for generators (len is not defined for generators). * Fix Unable to import 'collections.abc' (import-error) on Python 3.13.1. * Fix a false positive for potential-index-error when an indexed iterable contains a starred element that evaluates to more than one item. * Fixes the issue with --source-root option not working when the source files are in a subdirectory of the source root (e.g. when using a /src layout). Steve Kowalik 2025-04-08 03:29:42 +00:00
  • 073c74274e Accepting request 1203869 from devel:languages:python Ana Guerrero 2024-09-26 16:54:18 +00:00
  • add74c5cec Accepting request 1203869 from devel:languages:python Ana Guerrero 2024-09-26 16:54:18 +00:00
  • 2361d41a06 - Revert restriction to python3. Dirk Mueller 2024-09-26 11:52:10 +00:00
  • e80d2056f9 Accepting request 1203781 from home:bnavigator:branches:devel:languages:python:numeric Dirk Mueller 2024-09-26 11:52:10 +00:00
  • af411f4a00 Accepting request 1203565 from devel:languages:python Ana Guerrero 2024-09-25 19:54:19 +00:00
  • 38f15ef0bd Accepting request 1203565 from devel:languages:python Ana Guerrero 2024-09-25 19:54:19 +00:00
  • 9597abcbdc - Fix build error under Leap. Dirk Mueller 2024-09-25 12:26:24 +00:00
  • e955ecae57 Accepting request 1203563 from home:ecsos:python Dirk Mueller 2024-09-25 12:26:24 +00:00
  • bcbbc76402 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=164 Dirk Mueller 2024-09-24 13:51:54 +00:00
  • 17e6f5e7ac OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=164 Dirk Mueller 2024-09-24 13:51:54 +00:00
  • 0d8b11f5f3 - update to 3.3.1: * Fix regression causing some f-strings to not be inferred as strings. - update to 3.3.0: * We migrated `symilar to argparse, from getopt, so the error and help output changed (for the better). We exit with 2 instead of sometime 1, sometime 2. The error output is not captured by the runner anymore. It's not possible to use a value for the boolean options anymore (--ignore-comments 1 should become --ignore-comments). * Add new declare-non-slot error which reports when a class has a __slots__ member and a type hint on the class is not present in __slots__. * Added too-many-positional-arguments to allow distinguishing the configuration for too many total arguments (with keyword-only params specified after *) from the configuration for too many positional-or-keyword or positional-only arguments. * Add using-exception-group-in-unsupported-version and using-generic-type-syntax-in-unsupported-version for uses of Python 3.11+ or 3.12+ features on lower supported versions provided with --py-version. * Add using-assignment-expression-in-unsupported-version for uses of := (walrus operator) on Python versions below 3.8 provided with --py-version. * Add using-positional-only-args-in-unsupported-version for uses of positional-only args on Python versions below 3.8 provided with --py-version. * Add unnecessary-default-type-args to the typing` Dirk Mueller 2024-09-24 13:50:18 +00:00
  • 210f2db743 - update to 3.3.1: * Fix regression causing some f-strings to not be inferred as strings. - update to 3.3.0: * We migrated `symilar to argparse, from getopt, so the error and help output changed (for the better). We exit with 2 instead of sometime 1, sometime 2. The error output is not captured by the runner anymore. It's not possible to use a value for the boolean options anymore (--ignore-comments 1 should become --ignore-comments). * Add new declare-non-slot error which reports when a class has a __slots__ member and a type hint on the class is not present in __slots__. * Added too-many-positional-arguments to allow distinguishing the configuration for too many total arguments (with keyword-only params specified after *) from the configuration for too many positional-or-keyword or positional-only arguments. * Add using-exception-group-in-unsupported-version and using-generic-type-syntax-in-unsupported-version for uses of Python 3.11+ or 3.12+ features on lower supported versions provided with --py-version. * Add using-assignment-expression-in-unsupported-version for uses of := (walrus operator) on Python versions below 3.8 provided with --py-version. * Add using-positional-only-args-in-unsupported-version for uses of positional-only args on Python versions below 3.8 provided with --py-version. * Add unnecessary-default-type-args to the typing` Dirk Mueller 2024-09-24 13:50:18 +00:00
  • 26765a348d Accepting request 1193321 from devel:languages:python Dominique Leuenberger 2024-08-12 10:32:01 +00:00
  • e57394fd19 Accepting request 1193321 from devel:languages:python Dominique Leuenberger 2024-08-12 10:32:01 +00:00
  • 967aace5d0 - Update to 3.2.6: * Quiet false positives for unexpected-keyword-arg when pylint cannot determine which of two or more dynamically defined classes is being instantiated. * Fix a false positive for missing-param-doc where a method which is decorated with typing.overload was expected to have a docstring specifying its parameters. * Fix a regression that raised invalid-name on class attributes merely overriding invalid names from an ancestor. * Treat assert_never() the same way when imported from typing_extensions. * Fix a false positive for consider-using-min-max-builtin when the assignment target is an attribute. * Fix an AssertionError arising from properties that return partial functions. * Fix a crash when a subclass extends __slots__. - Refresh pytest-8.patch. - Add patch support-astroid-3.3.patch: * Support astroid >= 3.3.0. Steve Kowalik 2024-08-12 06:14:59 +00:00
  • 0b177522ad - Update to 3.2.6: * Quiet false positives for unexpected-keyword-arg when pylint cannot determine which of two or more dynamically defined classes is being instantiated. * Fix a false positive for missing-param-doc where a method which is decorated with typing.overload was expected to have a docstring specifying its parameters. * Fix a regression that raised invalid-name on class attributes merely overriding invalid names from an ancestor. * Treat assert_never() the same way when imported from typing_extensions. * Fix a false positive for consider-using-min-max-builtin when the assignment target is an attribute. * Fix an AssertionError arising from properties that return partial functions. * Fix a crash when a subclass extends __slots__. - Refresh pytest-8.patch. - Add patch support-astroid-3.3.patch: * Support astroid >= 3.3.0. Steve Kowalik 2024-08-12 06:14:59 +00:00
  • 15f32f4981 Accepting request 1186384 from devel:languages:python Ana Guerrero 2024-07-09 18:05:39 +00:00
  • 0825fa530f Accepting request 1186384 from devel:languages:python Ana Guerrero 2024-07-09 18:05:39 +00:00
  • 5f2d8be937 - Add new patch to fix failing tests with pytest 8, pytest-8.patch gh#pylint-dev/pylint#9576 - Skip some tests that still are failing with pytest 8, gh#pylint-dev/pylint#9545 Daniel Garcia 2024-07-09 12:16:59 +00:00
  • 062183061f - Add new patch to fix failing tests with pytest 8, pytest-8.patch gh#pylint-dev/pylint#9576 - Skip some tests that still are failing with pytest 8, gh#pylint-dev/pylint#9545 Daniel Garcia 2024-07-09 12:16:59 +00:00
  • 0cddd8bd21 - update to 3.2.5: * Fixed a false positive `unreachable-code when using typing.Any as return type in python 3.8, the typing.NoReturn are not taken into account anymore for python 3.8 however. * Prevent emitting possibly-used-before-assignment when relying on names only potentially not defined in conditional blocks guarded by functions annotated with typing.Never or typing.NoReturn. - update to 3.2.3: * Classes with only an Ellipsis (...) in their body do not trigger 'multiple-statements' anymore if they are inlined * Fix a false positive for redefined-outer-name when there is a name defined in an exception-handling block which shares the same name as a local variable that has been defined in a function body. * Fix a false positive for use-yield-from when using the return value from the yield atom. - update to 3.2.2: * Fix multiple false positives for generic class syntax added in Python 3.12 (PEP 695). * Exclude context manager without cleanup from contextmanager-generator-missing-cleanup checks. - update to 3.2.1: * Exclude if/else branches containing terminating functions (e.g. sys.exit()) from possibly-used-before-assignment checks. * Don't emit typevar-name-incorrect-variance` warnings for PEP 695 style TypeVars. * The variance is inferred automatically by the type checker. Dirk Mueller 2024-06-30 22:11:35 +00:00
  • 76edf09761 - update to 3.2.5: * Fixed a false positive `unreachable-code when using typing.Any as return type in python 3.8, the typing.NoReturn are not taken into account anymore for python 3.8 however. * Prevent emitting possibly-used-before-assignment when relying on names only potentially not defined in conditional blocks guarded by functions annotated with typing.Never or typing.NoReturn. - update to 3.2.3: * Classes with only an Ellipsis (...) in their body do not trigger 'multiple-statements' anymore if they are inlined * Fix a false positive for redefined-outer-name when there is a name defined in an exception-handling block which shares the same name as a local variable that has been defined in a function body. * Fix a false positive for use-yield-from when using the return value from the yield atom. - update to 3.2.2: * Fix multiple false positives for generic class syntax added in Python 3.12 (PEP 695). * Exclude context manager without cleanup from contextmanager-generator-missing-cleanup checks. - update to 3.2.1: * Exclude if/else branches containing terminating functions (e.g. sys.exit()) from possibly-used-before-assignment checks. * Don't emit typevar-name-incorrect-variance` warnings for PEP 695 style TypeVars. * The variance is inferred automatically by the type checker. Dirk Mueller 2024-06-30 22:11:35 +00:00
  • ab1399e0ef Accepting request 1160816 from devel:languages:python Ana Guerrero 2024-03-25 20:08:55 +00:00
  • ba08433827 Accepting request 1160816 from devel:languages:python Ana Guerrero 2024-03-25 20:08:55 +00:00
  • 5a4ffc10f1 - update to 3.1.0: * Two new checks--`use-yield-from, deprecated- attribute-- and a smattering of bug fixes. * Skip consider-using-join check for non-empty separators if an suggest-join-with-non-empty-separator option is set to no. * Discover .pyi files when linting. * Check TypeAlias and TypeVar (PEP 695) nodes for invalid-name. * Support for resolving external toml files named pylintrc.toml and .pylintrc.toml. * Check for .clear, .discard, .pop and remove methods being called on a set while it is being iterated over. * New message use-yield-from added to the refactoring checker. This message is emitted when yielding from a loop can be replaced by yield from. * Added a deprecated-attribute message to check deprecated attributes in the stdlib. * Exempt TypedDict from typing_extensions from too- many-ancestor` checks. * Extend broad-exception-raised and broad-exception-caught to except*. * Fix a false-negative for unnecessary if blocks using a different than expected ordering of arguments. * For "import X", it will report "(standard/third party/first party/local) import X" * For "import X.Y" and "from X import Y", it will report "(standard/third party/first party/local) import X.Y" * The import category is specified to provide explanation as to why pylint has issued the message and guidence to the Dirk Mueller 2024-03-22 20:03:15 +00:00
  • b3b1d938be - update to 3.1.0: * Two new checks--`use-yield-from, deprecated- attribute-- and a smattering of bug fixes. * Skip consider-using-join check for non-empty separators if an suggest-join-with-non-empty-separator option is set to no. * Discover .pyi files when linting. * Check TypeAlias and TypeVar (PEP 695) nodes for invalid-name. * Support for resolving external toml files named pylintrc.toml and .pylintrc.toml. * Check for .clear, .discard, .pop and remove methods being called on a set while it is being iterated over. * New message use-yield-from added to the refactoring checker. This message is emitted when yielding from a loop can be replaced by yield from. * Added a deprecated-attribute message to check deprecated attributes in the stdlib. * Exempt TypedDict from typing_extensions from too- many-ancestor` checks. * Extend broad-exception-raised and broad-exception-caught to except*. * Fix a false-negative for unnecessary if blocks using a different than expected ordering of arguments. * For "import X", it will report "(standard/third party/first party/local) import X" * For "import X.Y" and "from X import Y", it will report "(standard/third party/first party/local) import X.Y" * The import category is specified to provide explanation as to why pylint has issued the message and guidence to the Dirk Mueller 2024-03-22 20:03:15 +00:00
  • 344051cd85 Accepting request 1133805 from devel:languages:python Ana Guerrero 2023-12-18 21:56:05 +00:00
  • 66b8b6e810 Accepting request 1133805 from devel:languages:python Ana Guerrero 2023-12-18 21:56:05 +00:00
  • 15e85133d0 - update to 3.0.3: * Fixed false positive for `unnecessary-lambda when the call has keyword arguments but not the lambda. * Fixed incorrect suggestion for shallow copy in unnecessary- comprehension * After changing b = [x for x in a] to b = a based on the suggestion, the script now prints [0, 2, 3]. The correct suggestion should be use list(a) to preserve the original behavior. * Fix false positives for undefined-variable and unused- argument for classes and functions using Python 3.12 generic type syntax. * Fixed pointless-string-statement false positive for docstrings on Python 3.12 type aliases. * Fix false positive for invalid-exception-operation when concatenating tuples of exception types. * Fix a bug where pylint was unable to walk recursively through a directory if the directory has an __init__.py` file. Dirk Mueller 2023-12-18 08:24:37 +00:00
  • 700d08f234 - update to 3.0.3: * Fixed false positive for `unnecessary-lambda when the call has keyword arguments but not the lambda. * Fixed incorrect suggestion for shallow copy in unnecessary- comprehension * After changing b = [x for x in a] to b = a based on the suggestion, the script now prints [0, 2, 3]. The correct suggestion should be use list(a) to preserve the original behavior. * Fix false positives for undefined-variable and unused- argument for classes and functions using Python 3.12 generic type syntax. * Fixed pointless-string-statement false positive for docstrings on Python 3.12 type aliases. * Fix false positive for invalid-exception-operation when concatenating tuples of exception types. * Fix a bug where pylint was unable to walk recursively through a directory if the directory has an __init__.py` file. Dirk Mueller 2023-12-18 08:24:37 +00:00
  • 82080bda56 Accepting request 1129239 from devel:languages:python Ana Guerrero 2023-11-27 21:45:06 +00:00
  • e164a44ecc Accepting request 1129239 from devel:languages:python Ana Guerrero 2023-11-27 21:45:06 +00:00
  • 501b0677df - update to 3.0.2: * Fix `used-before-assignment false positive for generic type syntax (PEP 695, Python 3.12). * Escape special symbols and newlines in messages. * Fixes suggestion for nested-min-max for expressions with additive operators, list and dict comprehensions. * Fixes ignoring conditional imports with ignore-imports=y. * Emit inconsistent-quotes for f-strings with 3.12 interpreter only if targeting pre-3.12 versions. names: * Fix false positive for undefined-loop-variable in for-else loops that - Unpin mccabe and astroid in sitelib metadata. * unspecified-encoding now checks the encoding of pathlib.Path() correctly * The python3 porting mode checker and it's py3k option were removed. You can still find it in older pylints versions. * raising-bad-type is now properly emitted when raising a use-set-for-membership check: Emitted when using an in-place defined list or tuple to do a membership * CodeStyleChecker flow (e. g. if-else clause). * Fix false positive for protected-access if a protected * Fix false positive dict-iter-missing-items for dictionaries * The unspecified-encoding checker now also checks calls to * Fix false positive superfluous-parens for tuples created * Fix false positive unused-private-member for accessing * Fix false positive unused-private-member for private * Extended consider-using-in check to work for attribute * Setting min-similarity-lines` to 0 now makes the similarty * Fix a bug where pylint complained if the cache's parent Dirk Mueller 2023-11-27 20:02:15 +00:00
  • 5cbd09f29a - update to 3.0.2: * Fix `used-before-assignment false positive for generic type syntax (PEP 695, Python 3.12). * Escape special symbols and newlines in messages. * Fixes suggestion for nested-min-max for expressions with additive operators, list and dict comprehensions. * Fixes ignoring conditional imports with ignore-imports=y. * Emit inconsistent-quotes for f-strings with 3.12 interpreter only if targeting pre-3.12 versions. names: * Fix false positive for undefined-loop-variable in for-else loops that - Unpin mccabe and astroid in sitelib metadata. * unspecified-encoding now checks the encoding of pathlib.Path() correctly * The python3 porting mode checker and it's py3k option were removed. You can still find it in older pylints versions. * raising-bad-type is now properly emitted when raising a use-set-for-membership check: Emitted when using an in-place defined list or tuple to do a membership * CodeStyleChecker flow (e. g. if-else clause). * Fix false positive for protected-access if a protected * Fix false positive dict-iter-missing-items for dictionaries * The unspecified-encoding checker now also checks calls to * Fix false positive superfluous-parens for tuples created * Fix false positive unused-private-member for accessing * Fix false positive unused-private-member for private * Extended consider-using-in check to work for attribute * Setting min-similarity-lines` to 0 now makes the similarty * Fix a bug where pylint complained if the cache's parent Dirk Mueller 2023-11-27 20:02:15 +00:00
  • 39538cb775 Accepting request 1119283 from devel:languages:python Ana Guerrero 2023-10-22 19:01:49 +00:00
  • ea28dd03fa Accepting request 1119283 from devel:languages:python Ana Guerrero 2023-10-22 19:01:49 +00:00
  • fb7b428764 Accepting request 1119232 from home:ecsos:python Matej Cepl 2023-10-20 21:26:15 +00:00
  • 78a3f53fec Accepting request 1119232 from home:ecsos:python Matej Cepl 2023-10-20 21:26:15 +00:00
  • 723ac0e576 Accepting request 1090268 from devel:languages:python Dominique Leuenberger 2023-06-01 15:21:15 +00:00
  • f632f5dd70 Accepting request 1090268 from devel:languages:python Dominique Leuenberger 2023-06-01 15:21:15 +00:00
  • 2bfaab6a49 Accepting request 1090184 from home:bnavigator:branches:devel:languages:python Markéta Machová 2023-06-01 11:16:52 +00:00
  • 8695462135 Accepting request 1090184 from home:bnavigator:branches:devel:languages:python Markéta Machová 2023-06-01 11:16:52 +00:00
  • bc9b6a6263 Accepting request 1087260 from devel:languages:python Dominique Leuenberger 2023-05-16 12:16:17 +00:00
  • 3274b91c9a Accepting request 1087260 from devel:languages:python Dominique Leuenberger 2023-05-16 12:16:17 +00:00
  • 17c61431f7 - update to 2.17.4: * Fix a false positive for `bad-dunder-name when there is a user-defined __index__ method. * pyreverse: added escaping of vertical bar character in annotation labels * produced by DOT printer to ensure it is not treated as field separator of record-based nodes. * Fixed a crash when generating a configuration file: * tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key caused by tomlkit v0.11.8`. Dirk Mueller 2023-05-08 15:45:01 +00:00
  • a9bd2df97a - update to 2.17.4: * Fix a false positive for `bad-dunder-name when there is a user-defined __index__ method. * pyreverse: added escaping of vertical bar character in annotation labels * produced by DOT printer to ensure it is not treated as field separator of record-based nodes. * Fixed a crash when generating a configuration file: * tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key caused by tomlkit v0.11.8`. Dirk Mueller 2023-05-08 15:45:01 +00:00
  • 7c9fb5774c Accepting request 1085542 from home:ojkastl_buildservice:Branch_devel_languages_python Dirk Mueller 2023-05-08 15:29:57 +00:00
  • 32c816145f Accepting request 1085542 from home:ojkastl_buildservice:Branch_devel_languages_python Dirk Mueller 2023-05-08 15:29:57 +00:00
  • 3d24770052 Accepting request 1080001 from devel:languages:python Dominique Leuenberger 2023-04-20 14:49:02 +00:00
  • 4ef4705f76 Accepting request 1080001 from devel:languages:python Dominique Leuenberger 2023-04-20 14:49:02 +00:00
  • 897ebbf491 - update to 2.17.2: * invalid-name now allows for integers in typealias names: * now valid: Good2Name, GoodName2. * still invalid: _1BadName. * No longer consider Union as type annotation as type alias for naming checks. * unnecessary-lambda no longer warns on lambdas which use its parameters in their body (other than the final arguments), e.g. lambda foo: (bar if foo else baz)(foo). * Fix a crash in pyreverse when "/" characters are used in the output filename e.g pyreverse -o png -p name/ path/to/project. * Add new option (--show-stdlib, -L) to pyreverse. * This is similar to the behavior of --show-builtin in that standard library modules are now not included by default, and this option will include them. * Adds asyncSetUp to the default defining-attr-methods list to silence * attribute-defined-outside-init warning when using * unittest.IsolatedAsyncioTestCase. * invalid-name now allows for integers in typealias names: * now valid: Good2Name, GoodName2. * still invalid: _1BadName. * No longer consider Union as type annotation as type alias for naming checks. * unnecessary-lambda no longer warns on lambdas which use its parameters in their body (other than the final arguments), e.g. lambda foo: (bar if foo else baz)(foo). * --clear-cache-post-run now also clears LRU caches for Dirk Mueller 2023-04-17 19:36:13 +00:00
  • 2c94d8629b - update to 2.17.2: * invalid-name now allows for integers in typealias names: * now valid: Good2Name, GoodName2. * still invalid: _1BadName. * No longer consider Union as type annotation as type alias for naming checks. * unnecessary-lambda no longer warns on lambdas which use its parameters in their body (other than the final arguments), e.g. lambda foo: (bar if foo else baz)(foo). * Fix a crash in pyreverse when "/" characters are used in the output filename e.g pyreverse -o png -p name/ path/to/project. * Add new option (--show-stdlib, -L) to pyreverse. * This is similar to the behavior of --show-builtin in that standard library modules are now not included by default, and this option will include them. * Adds asyncSetUp to the default defining-attr-methods list to silence * attribute-defined-outside-init warning when using * unittest.IsolatedAsyncioTestCase. * invalid-name now allows for integers in typealias names: * now valid: Good2Name, GoodName2. * still invalid: _1BadName. * No longer consider Union as type annotation as type alias for naming checks. * unnecessary-lambda no longer warns on lambdas which use its parameters in their body (other than the final arguments), e.g. lambda foo: (bar if foo else baz)(foo). * --clear-cache-post-run now also clears LRU caches for Dirk Mueller 2023-04-17 19:36:13 +00:00
  • 820bad0993 Accepting request 1057060 from devel:languages:python Dominique Leuenberger 2023-01-09 16:24:13 +00:00
  • 8287a7e7a4 Accepting request 1057060 from devel:languages:python Dominique Leuenberger 2023-01-09 16:24:13 +00:00
  • 3dd7606bde - update to v2.15.10: * Fix use-sequence-for-iteration when unpacking a set with *. * Fix false positive assigning-non-slot when a class attribute is * re-assigned. * Fixes used-before-assignment false positive when the walrus operator * is used in a ternary operator. * Prevent used-before-assignment when imports guarded by if TYPE_CHECKING * are guarded again when used. * Using custom braces in msg-template will now work properly. Dirk Mueller 2023-01-09 11:55:44 +00:00
  • 3cec7294bb - update to v2.15.10: * Fix use-sequence-for-iteration when unpacking a set with *. * Fix false positive assigning-non-slot when a class attribute is * re-assigned. * Fixes used-before-assignment false positive when the walrus operator * is used in a ternary operator. * Prevent used-before-assignment when imports guarded by if TYPE_CHECKING * are guarded again when used. * Using custom braces in msg-template will now work properly. Dirk Mueller 2023-01-09 11:55:44 +00:00
  • 4a2cc878fa Accepting request 1056749 from devel:languages:python Dominique Leuenberger 2023-01-07 16:19:50 +00:00
  • ebdf737ddd Accepting request 1056749 from devel:languages:python Dominique Leuenberger 2023-01-07 16:19:50 +00:00
  • ffea532656 - update to v2.15.9: * Fix false-positive for used-before-assignment in pattern matching with a guard. * Pylint will no longer deadlock if a parallel job is killed but fail immediately instead. * When pylint exit due to bad arguments being provided the exit code will now be the expected 32. * Fixes a ModuleNotFound exception when running pylint on a Django project with the pylint_django plugin enabled. * Document a known false positive for useless-suppression when disabling * line-too-long in a module with only comments and no code. * Fix logging-fstring-interpolation false positive raised when logging and f-string with %s formatting. * Fixes false positive abstract-method on Protocol classes. * Fix missing-param-doc false positive when function parameter has an escaped underscore. * multiple-statements no longer triggers for function stubs using inlined .... * Fix deprecated-method false positive when alias for method is similar to * name of deprecated method. * Fix a false positive for used-before-assignment for imports guarded by * typing.TYPE_CHECKING later used in variable annotations. * Other Bug Fixes * Pylint will now filter duplicates given to it before linting. The output * should be the same whether a file is given/discovered multiple times or not. * Fixes a crash in stop-iteration-return when the next builtin is * called without arguments. * Fix false positive for unhashable-member when subclassing dict and * using the subclass as a dictionary key. Dirk Mueller 2023-01-07 09:14:06 +00:00
  • b1935a48f9 - update to v2.15.9: * Fix false-positive for used-before-assignment in pattern matching with a guard. * Pylint will no longer deadlock if a parallel job is killed but fail immediately instead. * When pylint exit due to bad arguments being provided the exit code will now be the expected 32. * Fixes a ModuleNotFound exception when running pylint on a Django project with the pylint_django plugin enabled. * Document a known false positive for useless-suppression when disabling * line-too-long in a module with only comments and no code. * Fix logging-fstring-interpolation false positive raised when logging and f-string with %s formatting. * Fixes false positive abstract-method on Protocol classes. * Fix missing-param-doc false positive when function parameter has an escaped underscore. * multiple-statements no longer triggers for function stubs using inlined .... * Fix deprecated-method false positive when alias for method is similar to * name of deprecated method. * Fix a false positive for used-before-assignment for imports guarded by * typing.TYPE_CHECKING later used in variable annotations. * Other Bug Fixes * Pylint will now filter duplicates given to it before linting. The output * should be the same whether a file is given/discovered multiple times or not. * Fixes a crash in stop-iteration-return when the next builtin is * called without arguments. * Fix false positive for unhashable-member when subclassing dict and * using the subclass as a dictionary key. Dirk Mueller 2023-01-07 09:14:06 +00:00
  • ab6be66f78 Accepting request 1012118 from devel:languages:python Dominique Leuenberger 2022-10-18 10:45:00 +00:00
  • 183ade1ced Accepting request 1012118 from devel:languages:python Dominique Leuenberger 2022-10-18 10:45:00 +00:00
  • 2cbcf87f84 Accepting request 1012069 from home:stroeder:python Markéta Machová 2022-10-17 13:11:43 +00:00
  • 7fc5201a46 Accepting request 1012069 from home:stroeder:python Markéta Machová 2022-10-17 13:11:43 +00:00
  • fe9763e012 Accepting request 1005711 from devel:languages:python Dominique Leuenberger 2022-09-26 16:47:55 +00:00
  • 01d3409814 Accepting request 1005711 from devel:languages:python Dominique Leuenberger 2022-09-26 16:47:55 +00:00
  • ff643d183a Accepting request 1005669 from home:bnavigator:branches:devel:languages:python Dirk Mueller 2022-09-24 06:35:15 +00:00
  • 377dce73e1 Accepting request 1005669 from home:bnavigator:branches:devel:languages:python Dirk Mueller 2022-09-24 06:35:15 +00:00
  • f2a54ca184 Accepting request 1005486 from devel:languages:python Dominique Leuenberger 2022-09-23 12:15:17 +00:00
  • 210db86979 Accepting request 1005486 from devel:languages:python Dominique Leuenberger 2022-09-23 12:15:17 +00:00
  • 1aafb1252d Accepting request 1005407 from home:stroeder:python Dirk Mueller 2022-09-22 19:44:09 +00:00
  • 3c19bb51d0 Accepting request 1005407 from home:stroeder:python Dirk Mueller 2022-09-22 19:44:09 +00:00
  • 0ce8ac8c4e Accepting request 1003053 from devel:languages:python Dominique Leuenberger 2022-09-13 13:09:38 +00:00
  • 95607bc872 Accepting request 1003053 from devel:languages:python Dominique Leuenberger 2022-09-13 13:09:38 +00:00
  • 9debae03a4 - 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. Dirk Mueller 2022-09-12 20:30:46 +00:00
  • 3cec35b8de - 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. Dirk Mueller 2022-09-12 20:30:46 +00:00
  • 42362528de Accepting request 1001087 from devel:languages:python Dominique Leuenberger 2022-09-04 20:11:46 +00:00
  • e64bf24583 Accepting request 1001087 from devel:languages:python Dominique Leuenberger 2022-09-04 20:11:46 +00:00
  • f63e1b4b88 Accepting request 999571 from home:bnavigator:branches:devel:languages:python Markéta Machová 2022-09-04 08:48:58 +00:00