diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cc107d7..d645187 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,11 @@ updates: interval: "weekly" day: "sunday" time: "20:00" + + - package-ecosystem: "pip" + directory: "/" + schedule: + # Check for updates on Sunday, 8PM UTC + interval: "weekly" + day: "sunday" + time: "20:00" diff --git a/.github/workflows/app-build-verify.yml b/.github/workflows/app-build-verify.yml index 3bcdf32..cfab928 100644 --- a/.github/workflows/app-build-verify.yml +++ b/.github/workflows/app-build-verify.yml @@ -105,7 +105,7 @@ jobs: sudo apt -y install --no-install-recommends socat xauth - name: Cache Briefcase Tools - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.0 with: key: briefcase-data|${{ steps.config.outputs.cache-key }} path: ${{ steps.config.outputs.briefcase-data-dir }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8040bdd..f23bc8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: name: Pre-commit Checks uses: ./.github/workflows/pre-commit-run.yml with: - pre-commit-source: pre-commit + pre-commit-source: -r requirements.txt test-docs-build-verify: name: Verify Docs Build diff --git a/.github/workflows/pre-commit-run.yml b/.github/workflows/pre-commit-run.yml index 11ee443..4cb80aa 100644 --- a/.github/workflows/pre-commit-run.yml +++ b/.github/workflows/pre-commit-run.yml @@ -51,7 +51,7 @@ jobs: .pre-commit-config.yaml - name: Cache pre-commit - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.0 with: path: ~/.cache/pre-commit key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 70b1047..76d2175 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,11 +18,12 @@ repos: hooks: - id: isort args: [--profile=black, --split-on-trailing-comma, --combine-as] - - repo: https://github.com/PyCQA/docformatter - rev: v1.7.5 - hooks: - - id: docformatter - args: [--in-place, --black] + # Docformatter 1.7.5 isn't compatible with Pre-commit 4.0 + # - repo: https://github.com/PyCQA/docformatter + # rev: v1.7.5 + # hooks: + # - id: docformatter + # args: [--in-place, --black] - repo: https://github.com/psf/black-pre-commit-mirror rev: 24.8.0 hooks: diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9d395aa --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pre-commit == 4.0.0