Skip to content

Commit 2a71f01

Browse files
committed
Update CI and linter versions
1 parent d3486f2 commit 2a71f01

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ["3.8", "3.9", "3.10"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1313

1414
steps:
1515
- uses: actions/checkout@v3
@@ -50,14 +50,14 @@ jobs:
5050
- uses: actions/checkout@v3
5151
- uses: actions/setup-python@v3
5252
with:
53-
python-version: "3.10"
53+
python-version: "3.11"
5454
- uses: isort/isort-action@master
5555
with:
5656
sortPaths: "./mautrix"
5757
- uses: psf/black@stable
5858
with:
5959
src: "./mautrix"
60-
version: "22.3.0"
60+
version: "22.12.0"
6161
- name: pre-commit
6262
run: |
6363
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: v4.1.0
3+
rev: v4.3.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: 22.3.0
11+
rev: 22.12.0
1212
hooks:
1313
- id: black
1414
language_version: python3
1515
files: ^mautrix/.*\.pyi?$
1616
- repo: https://github.com/PyCQA/isort
17-
rev: 5.10.1
17+
rev: 5.11.4
1818
hooks:
1919
- id: isort
2020
files: ^mautrix/.*\.pyi?$

0 commit comments

Comments
 (0)