fix refreshes on QR code logins #267
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: Black formatter | |
on: | |
push: | |
paths: | |
- 'pronotepy/**.py' | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
run_black_formatter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.8' | |
- name: Install black | |
run: python -m pip install black | |
- name: Run black | |
run: python -m black pronotepy --check |