This repository has been archived by the owner on Mar 2, 2024. It is now read-only.
add yarl URL import and type hinting #597
Workflow file for this run
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@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- uses: isort/isort-action@master | |
with: | |
sortPaths: "./maufbapi ./mautrix_facebook" | |
- uses: psf/black@stable | |
with: | |
src: "./maufbapi ./mautrix_facebook" | |
version: "23.1.0" | |
- 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 |