From 7a518e399a79dd5bfb8ba5dacb244ac71256e057 Mon Sep 17 00:00:00 2001 From: rex <1073853456@qq.com> Date: Wed, 26 Jun 2024 02:31:12 +0800 Subject: [PATCH] fix codecoverage --- .github/workflows/test.yml | 2 +- askchat/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0673d84..8f6f824 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: pip install coverage coverage run -m pytest tests/ - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} flags: unittests diff --git a/askchat/__init__.py b/askchat/__init__.py index 42f2091..f104f0a 100644 --- a/askchat/__init__.py +++ b/askchat/__init__.py @@ -16,7 +16,7 @@ MAIN_ENV_PATH = Path.home() / '.askchat' / '.env' ENV_PATH = Path.home() / '.askchat' / 'envs' -raw_env_text = f""""# Description: Env file for askchat. +raw_env_text = f"""# Description: Env file for askchat. # Current version: {__version__} # The base url of the API (with suffix /v1)