From 94ca78fe54dba03390954159915f9062897660e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 15 Dec 2023 10:38:48 +0100 Subject: [PATCH] Sync with WeblateOrg/meta --- .github/renovate.json | 12 ++++++++++++ .github/workflows/setup.yml | 2 +- .pre-commit-config.yaml | 4 ---- requirements-lint.txt | 1 + 4 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 requirements-lint.txt diff --git a/.github/renovate.json b/.github/renovate.json index ee6feba9..f4349685 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -45,6 +45,18 @@ "shellcheck-py/shellcheck-py" ], "versioning": "loose" + }, + { + "matchPackageNames": [ + "python" + ], + "matchDatasources": [ + "docker" + ], + "separateMinorPatch": true, + "minor": { + "dependencyDashboardApproval": true + } } ], "regexManagers": [ diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index 2f739891..b8a347b2 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.11' cache: pip cache-dependency-path: pyproject.toml - name: Install dependencies diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8735abeb..0f428e9b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,10 +19,6 @@ repos: rev: v1.33.0 hooks: - id: yamllint -- repo: https://github.com/PyCQA/isort - rev: 5.13.2 - hooks: - - id: isort - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.8 hooks: diff --git a/requirements-lint.txt b/requirements-lint.txt new file mode 100644 index 00000000..5cef2202 --- /dev/null +++ b/requirements-lint.txt @@ -0,0 +1 @@ +pre-commit==3.6.0