File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.PHONY : install remove refactor lint build upload tests doc
22
33install :
4- pip3 install -e .
4+ uv sync --all-groups
55
66remove :
77 pip uninstall python3_capsolver -y
88
99refactor :
10- black docs/
11- isort docs/
10+ uv run black docs/
11+ uv run isort docs/
1212
13- autoflake --in-place \
13+ uv run autoflake --in-place \
1414 --recursive \
1515 --remove-unused-variables \
1616 --remove-duplicate-keys \
1717 --remove-all-unused-imports \
1818 src/ tests/
19- black src/ tests/
20- isort src/ tests/
19+ uv run black src/ tests/
20+ uv run isort src/ tests/
2121
2222lint :
23- autoflake --in-place --recursive src/ --check
24- black src/ --check
25- isort src/ --check-only
23+ uv run autoflake --in-place --recursive src/ --check
24+ uv run black src/ --check
25+ uv run isort src/ --check-only
2626
2727build :
28- pip3 install --upgrade build setuptools
29- python3 -m build
28+ uv build
3029
3130upload :
32- pip3 install twine wheel setuptools build
33- twine upload dist/*
31+ uv publish
3432
35- tests : install
36- coverage run --rcfile=.coveragerc -m pytest --verbose --showlocals --disable-warnings \
33+ tests :
34+ uv run coverage run --rcfile=.coveragerc -m pytest --verbose --showlocals --disable-warnings \
3735 tests/ && \
38- coverage report --precision=3 --sort=cover --skip-empty --show-missing && \
39- coverage html --precision=3 --skip-empty -d coverage/html/ && \
40- coverage xml -o coverage/coverage.xml
36+ uv run coverage report --precision=3 --sort=cover --skip-empty --show-missing && \
37+ uv run coverage html --precision=3 --skip-empty -d coverage/html/ && \
38+ uv run coverage xml -o coverage/coverage.xml
4139
42- doc : install
40+ doc :
4341 cd docs/ && \
44- make html -e
42+ uv run make html -e
You can’t perform that action at this time.
0 commit comments