diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 17:45:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 17:45:32 +0000 |
commit | 5939313f229e6fcf374fb7e9ee4f8675b05ab293 (patch) | |
tree | 0a8181cbc5d052ab4d26a8e1d2dc52f126063fc6 /dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch | |
parent | 7e3d6dcede5749fe6a1adef4e673a9dde7703b7b (diff) |
gentoo auto-resync : 02:02:2024 - 17:45:32
Diffstat (limited to 'dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch')
-rw-r--r-- | dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch b/dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch deleted file mode 100644 index 788d38382114..000000000000 --- a/dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 2093ce0ad405e20efa3f2dad771a04577e0f7e6b Mon Sep 17 00:00:00 2001 -From: Stanislav Levin <slev@altlinux.org> -Date: Fri, 12 May 2023 19:38:41 +0300 -Subject: [PATCH] tests: Sync pylint's no-else-return - -https://github.com/klen/pylama/pull/243 - -See https://pylint.readthedocs.io/en/latest/user_guide/messages/refactor/no-else-return.html for details. - -Fixes: https://github.com/klen/pylama/issues/238 -Signed-off-by: Stanislav Levin <slev@altlinux.org> ---- - dummy.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/dummy.py b/dummy.py -index c19ee6d..09a0e3c 100644 ---- a/dummy.py -+++ b/dummy.py -@@ -22,10 +22,10 @@ def __init__(self, filename, loc, use_column=True): - if test == 1: - if test == 1: - return 28 -- elif test == 2: -+ if test == 2: - return 28 - return 28 -- elif test == 2: -+ if test == 2: - return 28 - - def __str__(self): |