Improve: Compatible with decode responses #113
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: Format | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: install black | |
run: pip install black | |
- name: install isort | |
run: pip install isort | |
- name: check format | |
run: | | |
python -m isort -c --profile black **/*.py | |
python -m black --check -v tair/*.py tests/*.py |