Bump urllib3 from 1.26.17 to 1.26.18 #65
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: Format | |
on: [push] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install black isort | |
- name: Format | |
run: | | |
black . | |
isort **/**.py | |
git config --global user.name 'Auto format' | |
git config --global user.email '[email protected]' | |
git diff --quiet && git diff --staged --quiet || git commit -am 'Formatted using isort and black' && git push |