From e7a19c049574184117ae7e5eca33c2c177ddf489 Mon Sep 17 00:00:00 2001 From: mikigo Date: Wed, 23 Aug 2023 19:08:34 +0800 Subject: [PATCH] fix: update some shields Description: Log: --- .reuse/dep5 | 2 +- LICENSE | 2 +- README.md | 3 +++ README.zh_CN.md | 3 +++ manage.py | 2 +- public/dde_desktop_public_widget/config.ini | 2 -- public/right_menu_public_widget/config.ini | 13 ------------- pylint.sh | 1 - pyproject.toml | 2 +- pytest.ini | 2 +- setting/globalconfig.py | 2 +- 11 files changed, 12 insertions(+), 22 deletions(-) diff --git a/.reuse/dep5 b/.reuse/dep5 index 1c7c782..e55bfce 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -9,7 +9,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY You should have received a copy of the GNU General Public License along with this program. If not, see. # README & DOCS -Files: README.md README.zh_CN.md docs/* +Files: README.md README.zh_CN.md Copyright: UnionTech Software Technology Co., Ltd. License: CC-BY-4.0 diff --git a/LICENSE b/LICENSE index ecbc059..d159169 100644 --- a/LICENSE +++ b/LICENSE @@ -336,4 +336,4 @@ This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. \ No newline at end of file +Public License instead of this License. diff --git a/README.md b/README.md index 47ea1bc..f1f19cb 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/youqu) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/youqu) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/youqu) +[![Downloads](https://static.pepy.tech/badge/youqu)](https://pepy.tech/project/youqu) +[![Downloads](https://static.pepy.tech/badge/youqu/month)](https://pepy.tech/project/youqu) +[![Downloads](https://static.pepy.tech/badge/youqu/week)](https://pepy.tech/project/youqu) English | [简体中文](README.zh_CN.md) diff --git a/README.zh_CN.md b/README.zh_CN.md index 2272139..753e938 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -7,6 +7,9 @@ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/youqu) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/youqu) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/youqu) +[![Downloads](https://static.pepy.tech/badge/youqu)](https://pepy.tech/project/youqu) +[![Downloads](https://static.pepy.tech/badge/youqu/month)](https://pepy.tech/project/youqu) +[![Downloads](https://static.pepy.tech/badge/youqu/week)](https://pepy.tech/project/youqu) [English](README.md) | 简体中文 diff --git a/manage.py b/manage.py index 84c4229..f4c4e1f 100644 --- a/manage.py +++ b/manage.py @@ -381,7 +381,7 @@ class Manage: start.rewrite() def export_csv(self, parser=None, sub_parser_export_csv=None): - """e导出 csv""" + """导出 csv""" sub_parser_export_csv.add_argument( "-a", "--app", default="", help="应用名称:deepin-music" ) diff --git a/public/dde_desktop_public_widget/config.ini b/public/dde_desktop_public_widget/config.ini index f816499..369fe6b 100644 --- a/public/dde_desktop_public_widget/config.ini +++ b/public/dde_desktop_public_widget/config.ini @@ -1,5 +1,3 @@ [config] DESKTOP_CONFIG = ~/.config/deepin/dde-desktop/dde-desktop.conf - -FTP_ADDRESS = 10.8.10.245 \ No newline at end of file diff --git a/public/right_menu_public_widget/config.ini b/public/right_menu_public_widget/config.ini index 1b8b1a5..2b5760e 100644 --- a/public/right_menu_public_widget/config.ini +++ b/public/right_menu_public_widget/config.ini @@ -1,17 +1,4 @@ [config] - -SMB_URL = SMB://10.8.10.214 - -SMB_IP = 10.8.10.214 - -FTP_ADDRESS = 10.8.10.214 - -SMB_REMOTE_URL = /run/user/1000/gvfs/smb-share:server=10.8.10.214,share=autotest/ - -SMB_ISO_URL = /run/user/1000/gvfs/smb-share:server=10.8.10.214,share=镜像共享 - -SFTP_TMP_URL = /run/user/1000/gvfs/sftp:host=10.8.10.214/tmp - DESKTOP_CONFIG = ~/.config/deepin/dde-desktop/dde-desktop.conf RECENT_CONFIG_PATH = ~/.local/share/recently-used.xbel \ No newline at end of file diff --git a/pylint.sh b/pylint.sh index 55259c2..a99d729 100644 --- a/pylint.sh +++ b/pylint.sh @@ -37,7 +37,6 @@ if [ -d "${abs_check_path}" ] || [ -f "${abs_check_path}" ]; then pylint --rcfile=setting/pylintrc.cfg ${abs_check_path} | \ pylint-json2html -o ${report_file} echo -e "请查看扫描报告:\033[32m ${report_file}\033[0m\n" -# nohup browser ${report_file} >/dev/null 2>&1 & else echo -e "\033[41;30m <${abs_check_path}> 目录不存在 \033[0m\n" fi diff --git a/pyproject.toml b/pyproject.toml index e7ab289..f3b5a03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ description = "deepin-autotest-framework" readme = "youqu/README.md" requires-python = ">=3.7" classifiers = [ - "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", ] diff --git a/pytest.ini b/pytest.ini index 033c424..d7735c0 100644 --- a/pytest.ini +++ b/pytest.ini @@ -20,4 +20,4 @@ filterwarnings = console_output_style = count testpaths = apps -minversion = 6.2.5 \ No newline at end of file +minversion = 6.2.5 diff --git a/setting/globalconfig.py b/setting/globalconfig.py index 317da72..836ac4b 100644 --- a/setting/globalconfig.py +++ b/setting/globalconfig.py @@ -116,7 +116,7 @@ class _GlobalConfig: TMPDIR = global_cfg.get("TMPDIR", default="/tmp/tmpdir") SYS_THEME = global_cfg.get("SYS_THEME", default="deepin") OCR_SERVER_HOST = global_cfg.get("OCR_SERVER_HOST", default="localhost") - OPENCV_SERVER_HOST = global_cfg.get("OPENCV_SERVER_HOST", default="http://localhost") + OPENCV_SERVER_HOST = global_cfg.get("OPENCV_SERVER_HOST", default="localhost") # [pms] pms_cfg = GetCfg(GLOBAL_CONFIG_FILE_PATH, "pms")