mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
ci: add pre-commit-hooks to lint process
This commit is contained in:
7
.github/workflows/python-lint.yml
vendored
7
.github/workflows/python-lint.yml
vendored
@@ -16,3 +16,10 @@ jobs:
|
||||
- uses: psf/black@21.12b0
|
||||
with:
|
||||
src: "./mautrix_telegram"
|
||||
- name: pre-commit
|
||||
run: |
|
||||
pip install pre-commit
|
||||
pre-commit run -av trailing-whitespace
|
||||
pre-commit run -av end-of-file-fixer
|
||||
pre-commit run -av check-yaml
|
||||
pre-commit run -av check-added-large-files
|
||||
|
||||
Reference in New Issue
Block a user