mirror of
https://github.com/maubot/maubot
synced 2025-08-29 08:50:38 +00:00
Update CI and pre-commit
This commit is contained in:
parent
4184280d4e
commit
3f2887d67f
5 changed files with 14 additions and 11 deletions
7
.github/workflows/python-lint.yml
vendored
7
.github/workflows/python-lint.yml
vendored
|
@ -6,16 +6,17 @@ jobs:
|
|||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
- uses: isort/isort-action@master
|
||||
with:
|
||||
sortPaths: "./maubot"
|
||||
- uses: psf/black@stable
|
||||
with:
|
||||
src: "./maubot"
|
||||
version: "24.2.0"
|
||||
- name: pre-commit
|
||||
run: |
|
||||
pip install pre-commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue