Skip to content

Fix issue with StreamReader usage #37

Fix issue with StreamReader usage

Fix issue with StreamReader usage #37

Workflow file for this run

name: Auto Black
on: [push]
jobs:
autoblack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-python@v1
- run: pip install black
- name: autoblack_check
id: black-check
continue-on-error: true
run: black --check --config pyproject.toml .
- name: autoblack
if: steps.black-check.outcome != 'success'
run: |
black --config pyproject.toml .
git config --global user.name github-actions
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
git commit -am "apply black codestyle" --allow-empty
git push