From 20199dd508db94db02ad318c56d76466cd2d1cb8 Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Wed, 3 Jan 2024 16:11:48 +0800 Subject: [PATCH] Fix "similar -d args" not recognized --- pylint.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pylint.spec b/pylint.spec index 51c314e..ea405ff 100644 --- a/pylint.spec +++ b/pylint.spec @@ -1,6 +1,6 @@ Name: pylint Version: 3.0.3 -Release: 1 +Release: 2 Summary: Analyzes Python code looking for bugs and signs of poor quality License: GPLv2+ URL: http://www.pylint.org/ @@ -65,6 +65,8 @@ Additionally, it is possible to write plugins to add your own checks. %prep %autosetup -p1 -n pylint-%{version} +# Fix "similar -d args" not recognized +sed -i 's/s_opts = "hdi"/s_opts = "hd:i"/g' pylint/checkers/similar.py %build %pyproject_build @@ -96,6 +98,9 @@ done %{_bindir}/*-%{python3_version} %changelog +* Wed Jan 03 2024 wangkai <13474090681@163.com> - 3.0.3-2 +- Fix "similar -d args" not recognized + * Tue Sep 19 2023 xu_ping <707078654@qq.com> - 3.0.3-1 - update to 3.0.3