update README w/ codecov and lgtm

Reference:
53fb245276

Signed-off-by: cao-fei8 <caofei@xfusion.com>
This commit is contained in:
cao-fei8 2023-01-07 14:29:54 +08:00
parent e68b64ad53
commit f06841d3cf
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,13 +14,14 @@ messages, names, and records.
Name: python-dns
Summary: %{sum}
Version: 2.2.1
Release: 1
Release: 2
License: ISC and MIT
URL: http://www.dnspython.org/
Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz
Patch0: fix-failed-tests.patch
Patch1: backport-fix-missing-version-in-setup.cfg.patch
Patch2: 0001-update-README-w-codecov-and-lgtm.patch
BuildArch: noarch
@ -63,6 +64,9 @@ pytest
%doc examples
%changelog
* Fri Jan 13 2023 caofei <caofei@xfusion.com> - 2.2.1-2
- update README w/ codecov and lgtm
* Thu Oct 27 2022 gaihuiying <eaglegai@163.com> - 2.2.1-1
- update to 2.2.1