Skip to content

Commit a4198a6

Browse files
committed
Update linters, CI and python version
1 parent 8bfde09 commit a4198a6

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: ["3.10", "3.11", "3.12", "3.13"]
11+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v5
16+
uses: actions/setup-python@v6
1717
with:
1818
python-version: ${{ matrix.python-version }}
1919
- name: Install libolm
@@ -46,17 +46,17 @@ jobs:
4646
lint:
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@v4
50-
- uses: actions/setup-python@v5
49+
- uses: actions/checkout@v5
50+
- uses: actions/setup-python@v6
5151
with:
52-
python-version: "3.13"
52+
python-version: "3.14"
5353
- uses: isort/isort-action@master
5454
with:
5555
sortPaths: "./mautrix"
5656
- uses: psf/black@stable
5757
with:
5858
src: "./mautrix"
59-
version: "24.10.0"
59+
version: "25.11.0"
6060
- name: pre-commit
6161
run: |
6262
pip install pre-commit

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
3+
rev: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
exclude_types: [markdown]
77
- id: end-of-file-fixer
88
- id: check-yaml
99
- id: check-added-large-files
1010
- repo: https://github.com/psf/black
11-
rev: 24.10.0
11+
rev: 25.11.0
1212
hooks:
1313
- id: black
1414
language_version: python3
1515
files: ^mautrix/.*\.pyi?$
1616
- repo: https://github.com/PyCQA/isort
17-
rev: 5.13.2
17+
rev: 7.0.0
1818
hooks:
1919
- id: isort
2020
files: ^mautrix/.*\.pyi?$

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
],
2929
extras_require={
3030
"detect_mimetype": ["python-magic>=0.4.15,<0.5"],
31-
"lint": ["black~=24.1", "isort"],
31+
"lint": ["black~=25.1", "isort"],
3232
"test": ["pytest", "pytest-asyncio", *test_dependencies],
3333
"encryption": encryption_dependencies,
3434
},
@@ -46,6 +46,7 @@
4646
"Programming Language :: Python :: 3.11",
4747
"Programming Language :: Python :: 3.12",
4848
"Programming Language :: Python :: 3.13",
49+
"Programming Language :: Python :: 3.14",
4950
],
5051

5152
package_data={

0 commit comments

Comments
 (0)