Skip to content

Commit

Permalink
Merge pull request #106 from Undertone0809/v1.2.1/fix-error-in-make-test
Browse files Browse the repository at this point in the history
fix: error in make test
  • Loading branch information
Undertone0809 authored Apr 21, 2024
2 parents 284bd02 + 2f02a7e commit 25a62fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you don't want to read the whole README, just click the `Use this template` b

```bash
pip install cookiecutter
cookiecutter gh:Undertone0809/3PG --checkout v1.2.0
cookiecutter gh:Undertone0809/3PG --checkout v1.2.1
```

## 🚀 Features
Expand Down Expand Up @@ -72,7 +72,7 @@ pip install -U cookiecutter
then go to a directory where you want to create your project and run:

```bash
cookiecutter gh:Undertone0809/3PG --checkout v1.2.0
cookiecutter gh:Undertone0809/3PG --checkout v1.2.1
```

### Input variables
Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pip install -U cookiecutter
然后转到你想创建项目的目录并运行:

```bash
cookiecutter gh:Undertone0809/3PG --checkout v1.2.0
cookiecutter gh:Undertone0809/3PG --checkout v1.2.1
```

### 输入变量
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OS := $(shell python -c "import sys; print(sys.platform)")

ifeq ($(OS),win32)
PYTHONPATH := $(shell python -c "import os; print(os.getcwd())")
TEST_COMMAND := set PYTHONPATH=$(PYTHONPATH) && poetry run pytest -c pyproject.toml --cov-report={{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }} --cov=hooks tests/
TEST_COMMAND := set PYTHONPATH=$(PYTHONPATH) && poetry run pytest -c pyproject.toml --cov-report=html --cov={{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }} tests/
else
PYTHONPATH := `pwd`
TEST_COMMAND := PYTHONPATH=$(PYTHONPATH) poetry run pytest -c pyproject.toml --cov-report=html --cov={{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }} tests/
Expand Down

0 comments on commit 25a62fb

Please sign in to comment.