diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 2095198..d39c250 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,7 +12,13 @@ on: jobs: pre-commit: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index bd23a07..6fbec6c 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.x - name: Install APT dependencies diff --git a/.mergify.yml b/.mergify.yml index c9885ce..8cd3100 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -2,12 +2,19 @@ # # SPDX-License-Identifier: MIT +queue_rules: + - name: default + merge_method: rebase + queue_conditions: + - "#approved-reviews-by >= 1" + merge_conditions: + - status-success = Travis CI - Pull Request + - check-success = pre-commit + pull_request_rules: - - name: Automatic merge on approval - conditions: - - "#approved-reviews-by>=1" - - "status-success=Travis CI - Pull Request" - - "status-success=pre-commit" - actions: - merge: - method: rebase + - name: Automatic queue on approval + conditions: + - "#approved-reviews-by >= 1" + actions: + queue: + name: default diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9388012..4232c41 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,13 +4,13 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace -- repo: https://github.com/timothycrosley/isort - rev: 5.12.0 +- repo: https://github.com/PyCQA/isort + rev: 8.0.1 hooks: - id: isort additional_dependencies: @@ -20,7 +20,7 @@ repos: hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/fsfe/reuse-tool diff --git a/.travis.yml b/.travis.yml index feaf5d4..c70f0b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,19 +2,19 @@ # # SPDX-License-Identifier: MIT -dist: bionic +dist: jammy language: python matrix: include: - - python: 3.5 - - python: 3.6 - - python: 3.7 - - python: 3.8 - - python: 3.9-dev + - python: '3.10' + - python: '3.11' + - python: '3.12' + - python: '3.13' install: + - pip install --upgrade pip - pip install .[dev] addons: