File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 55echo_date () { echo " [$( date +' %Y-%m-%d %H:%M:%S' ) ] $* " >&2 ; }
66
77# uv
8+ export UV_MANAGED_PYTHON=' true'
89export UV_PRERELEASE=' disallow'
10+ export UV_PYTHON=' 3.14'
911if ! command -v uv > /dev/null 2>&1 ; then
10- echo_date " ERROR: 'uv' not found" && exit 1
12+ echo_date " ERROR: 'uv' not found" && exit 1
1113fi
1214activate=' .venv/bin/activate'
1315if [ -f $activate ]; then
14- . $activate
16+ . $activate
1517else
16- uv venv
18+ uv venv
1719fi
1820uv sync --all-extras --all-groups --active --locked
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/dycw/conformalize
3- rev : 0.10.0
3+ rev : 0.10.9
44 hooks :
55 - args :
66 - --description=Template for Python packages
7+ - --envrc
8+ - --envrc--uv
79 - --github--pull-request--pre-commit
810 - --github--pull-request--pyright
911 - --github--pull-request--pytest--os--macos
1315 - --github--pull-request--ruff
1416 - --github--push--tag
1517 - --package-name=dycw-template-python
18+ - --pre-commit--dycw
1619 - --pre-commit--prettier
1720 - --pre-commit--ruff
1821 - --pre-commit--taplo
@@ -41,6 +44,11 @@ repos:
4144 args :
4245 - --autofix
4346 - id : trailing-whitespace
47+ - repo : https://github.com/dycw/actions
48+ rev : 0.3.30
49+ hooks :
50+ - id : format-requirements
51+ - id : replace-sequence-strs
4452 - repo : local
4553 hooks :
4654 - id : prettier
You can’t perform that action at this time.
0 commit comments