Skip to content

Commit f703050

Browse files
chore(deps): use lizardbyte-common for python helpers
1 parent c633308 commit f703050

8 files changed

Lines changed: 14 additions & 242 deletions

File tree

.flake8

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ jobs:
187187
env:
188188
MSYS2_PATH_TYPE: inherit
189189
UV_PYTHON: ${{ steps.setup-python.outputs.python-path }}
190-
run: uv sync --locked
190+
run: |
191+
uv sync --project third-party/lizardbyte-common --locked --only-group test-c \
192+
--no-python-downloads \
193+
--no-install-project
191194
192195
- name: Configure
193196
run: |
@@ -274,7 +277,7 @@ jobs:
274277
env:
275278
MSYS2_PATH_TYPE: inherit
276279
run: |
277-
uv run --locked gcovr . -r ../src \
280+
uv run --project ../third-party/lizardbyte-common --locked --no-sync gcovr . -r ../src \
278281
--exclude-noncode-lines \
279282
--exclude-throw-branches \
280283
--exclude-unreachable-branches \

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66
path = third-party/googletest
77
url = https://github.com/google/googletest.git
88
branch = v1.14.x
9+
[submodule "third-party/lizardbyte-common"]
10+
path = third-party/lizardbyte-common
11+
url = https://github.com/LizardByte/lizardbyte-common.git
12+
branch = master

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@ ninja -C build
8686

8787
## Python Tooling
8888

89-
Install [uv](https://docs.astral.sh/uv/) to sync and run the Python tools:
89+
Install [uv](https://docs.astral.sh/uv/) and initialize the shared tooling submodule:
9090

9191
```bash
92-
uv sync
93-
uv run python scripts/update_clang_format.py
92+
git submodule update --init --recursive third-party/lizardbyte-common
93+
uv run --project third-party/lizardbyte-common --locked --only-group lint-c \
94+
python third-party/lizardbyte-common/scripts/update_clang_format.py
9495
```
9596

9697
## Demo

pyproject.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

scripts/update_clang_format.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

third-party/lizardbyte-common

Submodule lizardbyte-common added at fd6c6b4

uv.lock

Lines changed: 0 additions & 178 deletions
This file was deleted.

0 commit comments

Comments
 (0)