Merge pull request #964 from mautrix/feature/periodic-refresh #554
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- uses: isort/isort-action@master | |
with: | |
sortPaths: "./mautrix_telegram" | |
- uses: psf/black@stable | |
with: | |
src: "./mautrix_telegram" | |
version: "24.1.1" | |
- 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 |