Skip to content

Merge pull request #192 from curveresearch/improve-pylint #44

Merge pull request #192 from curveresearch/improve-pylint

Merge pull request #192 from curveresearch/improve-pylint #44

Workflow file for this run

name: Lint
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main and develop branches.
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
lint:
name: Format and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up latest Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: 'pip'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Format
run: |
black --version
black . --check
- name: Lint
run: |
make lint