fix(src): Close connections to API clients when shutting down #249
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "PEP8 and mypy" | |
on: | |
push: | |
branches: ["master", "feat/workflows"] | |
pull_request: | |
branches: ["master", "feat/workflows"] | |
schedule: | |
- cron: '0 0 * * */10' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Python 3.7 syntax check | |
run: python -m py_compile src/wsdd.py | |
- name: Lint with flake8 | |
run: | | |
pip install flake8 | |
flake8 --count --show-source --statistics src | |
- name: mypy type check | |
run: | | |
pip install mypy==1.0 | |
test/linting/mypy.sh |