Skip to content

Infrastructure

Infrastructure #46

Workflow file for this run

name: linting
# Linting tools use `pyproject.toml` and `setup.cfg` for config.
on:
- pull_request
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: isort
run: isort .
- name: black
run: black .
- name: flake8
run: flake8 .
- name: mypy
run: mypy .
# - name: safety
# run: safety check