Skip to content

Merge pull request #158 from fostiropoulos/fostiropoulos-patch-1 #512

Merge pull request #158 from fostiropoulos/fostiropoulos-patch-1

Merge pull request #158 from fostiropoulos/fostiropoulos-patch-1 #512

name: Static Analysis
on:
push:
pull_request:
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
make install
- name: Run pylint
run: make pylint
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
make install
- name: Run mypy
run: make mypy
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
make install
- name: Lint with flake8
run: |
make flake8
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
make install
- name: Check formatting with black
run: |
make black