Skip to content

Commit a5e4144

Browse files
committed
chore: sync with WeblateOrg/meta
1 parent 82b42e5 commit a5e4144

2 files changed

Lines changed: 1 addition & 37 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ jobs:
3131
- name: detect method
3232
id: detect
3333
run: |
34-
if test -f requirements-lint.txt ; then
35-
echo "method=requirements" >> "$GITHUB_OUTPUT"
36-
elif test -f pyproject.toml && grep -q dependency-groups pyproject.toml ; then
34+
if test -f pyproject.toml ; then
3735
echo "method=pep735" >> "$GITHUB_OUTPUT"
3836
else
3937
echo "method=uvx" >> "$GITHUB_OUTPUT"
@@ -56,16 +54,6 @@ jobs:
5654
RUFF_OUTPUT_FORMAT: github
5755
REUSE_OUTPUT_FORMAT: github
5856
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
- name: pre-commit (requirements)
60-
if: steps.detect.outputs.method == 'requirements'
61-
run: |
62-
uv pip install --system -r requirements-lint.txt
63-
prek run --all-files --show-diff-on-failure
64-
prek cache gc
65-
env:
66-
RUFF_OUTPUT_FORMAT: github
67-
REUSE_OUTPUT_FORMAT: github
68-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6957
- name: diff
7058
run: git diff
7159
if: always()

.github/workflows/pull_requests.yaml

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

0 commit comments

Comments
 (0)