Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 15 additions & 8 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading