Skip to content

Commit b680014

Browse files
committed
fix ci
1 parent 2105645 commit b680014

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ hook-dirs = "pypinyin.__pyinstaller:get_hook_dirs"
5555
[dependency-groups]
5656
dev = [
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
]

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ pytest-random-order
99
setuptools
1010
Sphinx>=3.0.4
1111
tox
12-
twine
12+
#twine
1313
wheel>=0.21

0 commit comments

Comments
 (0)