File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 . .venv/bin/activate
3535
3636 uv pip install coveralls 'tox<4.0.0'
37+ uv pip install setuptools
3738
3839 if [[ $RUN_CHECK == 1 ]]; then
3940 uv pip install -r requirements_dev.txt
@@ -58,17 +59,17 @@ jobs:
5859 . .venv/bin/activate
5960
6061 if [[ $RUN_CHECK == 1 ]]; then
61- pre-commit run --all-files
62- mypy pypinyin
62+ uv run pre-commit run --all-files
63+ uv run mypy pypinyin
6364 fi
6465
6566
6667 tox -e $TOX_ENV
6768
68- uv pip install .
69- pypinyin hello
70- echo hello | pypinyin
71- pypinyin < setup.cfg
69+ uv tool install .
70+ uv tool run pypinyin hello
71+ echo hello | uv tool run pypinyin
72+ uv tool run pypinyin < setup.cfg
7273
7374 # coveralls
7475
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