Skip to content

Commit d61e26c

Browse files
update to uv (#16)
1 parent e595c57 commit d61e26c

File tree

6 files changed

+2246
-2646
lines changed

6 files changed

+2246
-2646
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
needs: [release]
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
with:
2424
token: ${{ secrets.EXT_GITHUB }}
2525
repository: lnbits/lnbits-extensions

Makefile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,42 @@ format: prettier black ruff
55
check: mypy pyright checkblack checkruff checkprettier
66

77
prettier:
8-
poetry run ./node_modules/.bin/prettier --write .
8+
uv run ./node_modules/.bin/prettier --write .
99
pyright:
10-
poetry run ./node_modules/.bin/pyright
10+
uv run ./node_modules/.bin/pyright
1111

1212
mypy:
13-
poetry run mypy .
13+
uv run mypy .
1414

1515
black:
16-
poetry run black .
16+
uv run black .
1717

1818
ruff:
19-
poetry run ruff check . --fix
19+
uv run ruff check . --fix
2020

2121
checkruff:
22-
poetry run ruff check .
22+
uv run ruff check .
2323

2424
checkprettier:
25-
poetry run ./node_modules/.bin/prettier --check .
25+
uv run ./node_modules/.bin/prettier --check .
2626

2727
checkblack:
28-
poetry run black --check .
28+
uv run black --check .
2929

3030
checkeditorconfig:
3131
editorconfig-checker
3232

3333
test:
3434
PYTHONUNBUFFERED=1 \
3535
DEBUG=true \
36-
poetry run pytest
36+
uv run pytest
3737
install-pre-commit-hook:
3838
@echo "Installing pre-commit hook to git"
39-
@echo "Uninstall the hook with poetry run pre-commit uninstall"
40-
poetry run pre-commit install
39+
@echo "Uninstall the hook with uv run pre-commit uninstall"
40+
uv run pre-commit install
4141

4242
pre-commit:
43-
poetry run pre-commit run --all-files
43+
uv run pre-commit run --all-files
4444

4545

4646
checkbundle:

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def example_start():
4040
__all__ = [
4141
"db",
4242
"example_ext",
43-
"example_static_files",
4443
"example_start",
44+
"example_static_files",
4545
"example_stop",
4646
]

0 commit comments

Comments
 (0)