File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,17 @@ jobs:
5858 . .venv/bin/activate
5959
6060 if [[ $RUN_CHECK == 1 ]]; then
61- pre-commit run --all-files
62- mypy pypinyin
61+ uv run pre-commit run --all-files
62+ uv run mypy pypinyin
6363 fi
6464
6565
6666 tox -e $TOX_ENV
6767
68- uv pip install .
69- pypinyin hello
70- echo hello | pypinyin
71- pypinyin < setup.cfg
68+ uv tool install .
69+ uv tool run pypinyin hello
70+ echo hello | uv tool run pypinyin
71+ uv tool run pypinyin < setup.cfg
7272
7373 # coveralls
7474
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ hook-dirs = "pypinyin.__pyinstaller:get_hook_dirs"
5555[dependency-groups ]
5656dev = [
5757 " argparse" ,
58- " bumpversion" ,
5958 " mypy; python_version >= '3.5'" ,
6059 " pre-commit" ,
6160 " pygments>=2.7.4; python_version >= '3.5'" ,
@@ -64,7 +63,10 @@ dev = [
6463 " pytest-random-order" ,
6564 " setuptools" ,
6665 " sphinx>=3.0.4; python_version >= '3.5'" ,
67- " tox" ,
66+ " tox"
67+ ]
68+ release = [
69+ " bumpversion" ,
6870 " twine" ,
6971 " wheel>=0.21"
7072]
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ pytest-random-order
99setuptools
1010Sphinx>=3.0.4
1111tox
12- twine
12+ # twine
1313wheel>=0.21
You can’t perform that action at this time.
0 commit comments