diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index d9bacbe..d479648 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -36,7 +36,7 @@ jobs: run: python -m pip install -U pip - name: Install tox - run: python -m pip install --group 'dev' + run: python -m pip install --group 'translate' - name: Configure git run: | @@ -50,8 +50,10 @@ jobs: cat < ~/.weblate [weblate] url = https://hosted.weblate.org/api/ - key = $WEBLATE_API_TOKEN translation = beeware/tutorial + + [keys] + https://hosted.weblate.org/api/ = $WEBLATE_API_TOKEN EOF - name: Lock Weblate and Sync diff --git a/pyproject.toml b/pyproject.toml index bbad9ee..67b06c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,10 +7,19 @@ tox-uv = [ "tox-uv == 1.29.0", ] +wlc = [ + "wlc == 1.17.0", +] + dev = [ - "wlc == 1.16.1", {include-group = "pre-commit"}, {include-group = "tox-uv"}, + {include-group = "wlc"}, +] + +translate = [ + {include-group = "tox-uv"}, + {include-group = "wlc"}, ] docs = [