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 Dec 15, 2023
1 parent fbffc0f commit e0a22ed
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@
"shellcheck-py/shellcheck-py"
],
"versioning": "loose"
},
{
"matchPackageNames": [
"python"
],
"matchDatasources": [
"docker"
],
"separateMinorPatch": true,
"minor": {
"dependencyDashboardApproval": true
}
}
],
"regexManagers": [
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,19 @@ jobs:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}-${{ hashFiles('pyproject.toml') }}
- 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 dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements-lint.txt
if [ -f requirements-lint.txt ] ; then
pip install -r requirements-lint.txt
else
pip install -e .[lint]
fi
- name: pre-commit
run: pre-commit run --all

0 comments on commit e0a22ed

Please sign in to comment.