mirror of
https://github.com/maubot/rss.git
synced 2025-12-31 23:30:14 -05:00
Switch to asyncpg for database
This commit is contained in:
parent
428b471fec
commit
18ef939a04
7 changed files with 470 additions and 310 deletions
26
.github/workflows/python-lint.yml
vendored
Normal file
26
.github/workflows/python-lint.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: Python lint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- uses: isort/isort-action@master
|
||||
with:
|
||||
sortPaths: "./rss"
|
||||
- uses: psf/black@stable
|
||||
with:
|
||||
src: "./rss"
|
||||
version: "22.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
|
||||
Loading…
Add table
Add a link
Reference in a new issue