Fixing linting #6
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 | |
on: [push, pull_request] | |
# use workaround due to: https://github.com/psf/black/issues/2079#issuecomment-812359146 | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install Black | |
run: pip install 'black==22.6.0' | |
- name: Run black --check . | |
run: black --check . |