Skip to content

Commit

Permalink
Sync with WeblateOrg/meta
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jul 12, 2024
1 parent 6d49c2c commit e6666f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"^Dockerfile$"
],
"matchStrings": [
"ENV WEBLATE_VERSION (?<currentValue>.*?)\\n"
"ENV WEBLATE_VERSION=(?<currentValue>.*?)\\n"
],
"depNameTemplate": "Weblate",
"datasourceTemplate": "pypi",
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}-${{ hashFiles('pyproject.toml') }}
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Update pip
run: python -m pip install --upgrade pip wheel
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
if [ -f requirements-lint.txt ] ; then
pip install -r requirements-lint.txt
uv pip install --system -r requirements-lint.txt
else
pip install $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)
uv pip install --system $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)
fi
- name: pre-commit
run: pre-commit run --all
env:
RUFF_OUTPUT_FORMAT: github
- name: diff
run: git diff
if: always()

0 comments on commit e6666f9

Please sign in to comment.