!33 update README w/ codecov and lgtm

From: @cao-fei8 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-01-13 09:18:54 +00:00 committed by Gitee
commit 685becbc8a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 53fb24527687399bd3eeae7670ba7df2dd5c280e Mon Sep 17 00:00:00 2001
From: Bob Halley <halley@dnspython.org>
Date: Mon, 21 Feb 2022 14:32:25 -0800
Subject: [PATCH] update README w/ codecov and lgtm
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 81503f3..2344807 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,8 @@
[![Documentation Status](https://readthedocs.org/projects/dnspython/badge/?version=latest)](https://dnspython.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/dnspython.svg)](https://badge.fury.io/py/dnspython)
[![License: ISC](https://img.shields.io/badge/License-ISC-brightgreen.svg)](https://opensource.org/licenses/ISC)
+[![Coverage](https://codecov.io/github/rthalley/dnspython/coverage.svg?branch=master)](https://codecov.io/github/rthalley/dnspython)
+[![LGTM Grade](https://img.shields.io/lgtm/grade/python/github/rthalley/dnspython)](https://img.shields.io/lgtm/grade/python/github/rthalley/dnspython)
## INTRODUCTION
--
2.33.0

View File

@ -14,7 +14,7 @@ messages, names, and records.
Name: python-dns
Summary: %{sum}
Version: 2.2.1
Release: 2
Release: 3
License: ISC and MIT
URL: http://www.dnspython.org/
Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz
@ -22,6 +22,7 @@ Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspyt
Patch0: fix-failed-tests.patch
Patch1: backport-fix-missing-version-in-setup.cfg.patch
Patch2: 0001-fix-win32util.py-file-mode.patch
Patch3: 0001-update-README-w-codecov-and-lgtm.patch
BuildArch: noarch
@ -64,6 +65,9 @@ pytest
%doc examples
%changelog
* Fri Jan 13 2023 caofei <caofei@xfusion.com> - 2.2.1-3
- update README w/ codecov and lgtm
* Mon Jan 9 2023 caofei <caofei@xfusion.com> - 2.2.1-2
- fix win32util.py file mode