File tree Expand file tree Collapse file tree 9 files changed +351
-447
lines changed Expand file tree Collapse file tree 9 files changed +351
-447
lines changed Original file line number Diff line number Diff line change 77 "version" : " lts"
88 },
99 "ghcr.io/devcontainers/features/git-lfs:1.2.2" : {},
10- "ghcr.io/devcontainers-extra/ features/poetry:2 " : {},
10+ "ghcr.io/jsburckhardt/devcontainer- features/uv:1 " : {},
1111 "ghcr.io/devcontainers/features/python:1" : {
1212 "version" : " 3.12"
1313 },
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ modifies/dependencies:
6161 - " package.json"
6262 - " package-lock.json"
6363 - " pyproject.toml"
64- - " poetry .lock"
64+ - " uv .lock"
6565 - " go.mod"
6666 - " go.sum"
6767
Original file line number Diff line number Diff line change 7777 - "tools/lint-templates-*.js"
7878 - "templates/**/*.tmpl"
7979 - "pyproject.toml"
80- - "poetry .lock"
80+ - "uv .lock"
8181
8282 docker:
8383 - "Dockerfile"
9898 - "**/*.yaml"
9999 - ".yamllint.yaml"
100100 - "pyproject.toml"
101- - "poetry.lock"
Original file line number Diff line number Diff line change 4040 node-version : 24
4141 cache : npm
4242 cache-dependency-path : package-lock.json
43- - run : pip install poetry
43+ - run : pip install uv
4444 - run : make deps-py
4545 - run : make deps-frontend
4646 - run : make lint-templates
5454 - uses : actions/setup-python@v5
5555 with :
5656 python-version : " 3.12"
57- - run : pip install poetry
57+ - run : pip install uv
5858 - run : make deps-py
5959 - run : make lint-yaml
6060
Original file line number Diff line number Diff line change @@ -393,11 +393,11 @@ lint-actions: ## lint action workflow files
393393.PHONY : lint-templates
394394lint-templates : .venv node_modules # # lint template files
395395 @node tools/lint-templates-svg.js
396- @poetry run djlint $(shell find templates -type f -iname '* .tmpl')
396+ @uv run djlint $(shell find templates -type f -iname '* .tmpl')
397397
398398.PHONY : lint-yaml
399399lint-yaml : .venv # # lint yaml files
400- @poetry run yamllint -s .
400+ @uv run yamllint -s .
401401
402402.PHONY : watch
403403watch : # # watch everything and continuously rebuild
@@ -829,8 +829,8 @@ node_modules: package-lock.json
829829 npm install --no-save
830830 @touch node_modules
831831
832- .venv : poetry .lock
833- poetry install
832+ .venv : uv .lock
833+ uv sync
834834 @touch .venv
835835
836836.PHONY : update
@@ -848,8 +848,8 @@ update-js: node-check | node_modules ## update js dependencies
848848.PHONY : update-py
849849update-py : node-check | node_modules # # update py dependencies
850850 npx updates -u -f pyproject.toml
851- rm -rf .venv poetry .lock
852- poetry install
851+ rm -rf .venv uv .lock
852+ uv sync
853853 @touch .venv
854854
855855.PHONY : webpack
Original file line number Diff line number Diff line change 2626
2727 # linting
2828 python312
29- poetry
29+ uv
3030
3131 # backend
3232 go_1_24
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [tool .poetry ]
2- package-mode = false
1+ [project ]
2+ name = " gitea"
3+ version = " 0.0.0"
4+ requires-python = " >=3.10"
35
4- [tool .poetry .dependencies ]
5- python = " ^3.10"
6-
7- [tool .poetry .group .dev .dependencies ]
8- djlint = " 1.36.4"
9- yamllint = " 1.37.1"
6+ [dependency-groups ]
7+ dev = [
8+ " djlint==1.36.4" ,
9+ " yamllint==1.37.1" ,
10+ ]
1011
1112[tool .djlint ]
1213profile =" golang"
You can’t perform that action at this time.
0 commit comments