Skip to content

refactor: Refactor pyrorisks #371

refactor: Refactor pyrorisks

refactor: Refactor pyrorisks #371

Workflow file for this run

name: python-package
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
flake8-py3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
architecture: x64
- name: Run flake8
run: |
pip install flake8
flake8 --version
flake8 ./
mypy:
runs-on: ubuntu-latest
name: Mypy
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Run mypy
run: |
pip install mypy
python -m pip install --upgrade pip
mypy ./pyro_risks/
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: psf/black@stable