No need for close in main. Use 1 client instance and allow destructor… #131
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: lint | |
on: [push, pull_request] # yamllint disable-line rule:truthy | |
jobs: | |
isort-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- uses: jamescurtin/isort-action@master | |
black-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: psf/black@stable | |
with: | |
options: "-l79" | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: karancode/yamllint-github-action@master | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
sudo apt-get install -y flake8 | |
flake8 . --count --show-source --statistics --config=.flake8.cfg |