Fix "similar -d args" not recognized
This commit is contained in:
parent
775cb6247a
commit
38ff16f085
@ -1,6 +1,6 @@
|
|||||||
Name: pylint
|
Name: pylint
|
||||||
Version: 2.12.2
|
Version: 2.12.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Analyzes Python code looking for bugs and signs of poor quality
|
Summary: Analyzes Python code looking for bugs and signs of poor quality
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.pylint.org/
|
URL: http://www.pylint.org/
|
||||||
@ -56,6 +56,8 @@ Additionally, it is possible to write plugins to add your own checks.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
# Fix "similar -d args" not recognized
|
||||||
|
sed -i 's/s_opts = "hdi"/s_opts = "hd:i"/g' pylint/checkers/similar.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -87,6 +89,9 @@ done
|
|||||||
%{_bindir}/*-%{python3_version}
|
%{_bindir}/*-%{python3_version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 03 2024 wangkai <13474090681@163.com> - 2.12.2-2
|
||||||
|
- Fix "similar -d args" not recognized
|
||||||
|
|
||||||
* Feb Mov 01 2022 Ge Wang <wangge20@h-partners.com> - 2.12.2-1
|
* Feb Mov 01 2022 Ge Wang <wangge20@h-partners.com> - 2.12.2-1
|
||||||
- update to version 2.12.2
|
- update to version 2.12.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user