!28 Fix "similar -d args" not recognized
From: @wk333 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
c100849938
@ -1,6 +1,6 @@
|
|||||||
Name: pylint
|
Name: pylint
|
||||||
Version: 2.2.2
|
Version: 2.2.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/
|
||||||
@ -58,6 +58,8 @@ Additionally, it is possible to write plugins to add your own checks.
|
|||||||
|
|
||||||
# Convert DOS line endings to Unix
|
# Convert DOS line endings to Unix
|
||||||
sed -i 's/\r//g' README.rst
|
sed -i 's/\r//g' README.rst
|
||||||
|
# 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
|
||||||
@ -108,5 +110,8 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
|||||||
%{_mandir}/man1/*-%{python3_version}.1*
|
%{_mandir}/man1/*-%{python3_version}.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 03 2024 wangkai <13474090681@163.com> - 2.12.2-2
|
||||||
|
- Fix "similar -d args" not recognized
|
||||||
|
|
||||||
* Tue Nov 09 2021 huangtianhua <huangtianhua@huawei.com> - 2.2.2-1
|
* Tue Nov 09 2021 huangtianhua <huangtianhua@huawei.com> - 2.2.2-1
|
||||||
- package init for OpenStack Train
|
- package init for OpenStack Train
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user