Skip to content

Merge pull request #87 from FallenDeity/feat/paginators #75

Merge pull request #87 from FallenDeity/feat/paginators

Merge pull request #87 from FallenDeity/feat/paginators #75

name: Code formatter and linter
on:
push:
branches: [ master ]
permissions:
contents: write
jobs:
build:
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root
- name: Format with isort and black
run: |
poetry run isort .
poetry run black .
- name: Linting with ruff
run: |
poetry run ruff .
- name: Build docs
run: |
poetry run mkdocs gh-deploy --force