Skip to content

Commit

Permalink
chore: Sync with WeblateOrg/meta
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 3, 2024
1 parent 10db239 commit a95fa1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- uses: astral-sh/setup-uv@v3
- name: Install dependencies
run: |
if [ -f requirements-lint.txt ] ; then
uv pip install --system -r requirements-lint.txt
elif grep -q dependency-groups pyproject.toml ; then
uv sync --only-group pre-commit
else
uv pip install --system $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yarn-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: |
if [ -d client ] ; then
cd client
yarn install
yarn install --check-files
yarn build
cd ..
fi
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ repos:
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm==0.3.7
- mdformat-gfm==0.3.6
- mdformat-ruff==0.1.3
- mdformat-shfmt==0.2.0
- mdformat-shfmt==0.1.0
- mdformat_tables==1.0.0
- repo: https://github.com/awebdeveloper/pre-commit-stylelint
rev: 0.0.2
Expand Down

0 comments on commit a95fa1f

Please sign in to comment.