mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
Blacken and isort code
This commit is contained in:
18
.github/workflows/python-lint.yml
vendored
Normal file
18
.github/workflows/python-lint.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Python lint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- uses: isort/isort-action@master
|
||||
with:
|
||||
sortPaths: "./mautrix_telegram"
|
||||
- uses: psf/black@21.12b0
|
||||
with:
|
||||
src: "./mautrix_telegram"
|
||||
Reference in New Issue
Block a user