Skip to content

Admin page

Admin page #9

Workflow file for this run

name: Linter
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: requirements.txt
- name: Install dependencies
run: |
python -m pip install -U pip
pip install --upgrade pip setuptools
pip install flake8 mypy black~=24.0 isort wheel types-requests
pip install -r requirements.txt
- name: Lint with mypy
run: |
mypy --ignore-missing-imports --explicit-package-bases .
- name: Lint with black
run: |
black --check --verbose --diff .
- name: Lint with flake8
run: |
flake8 --count --verbose --max-line-length=88 --extend-ignore=E501,W391,C901,E203 --statistics .