Skip to content

1.5.0

1.5.0 #12

Workflow file for this run

# GitHub Action that uses Black to reformat the Python code in an incoming pull request.
# If all Python code in the pull request is compliant with Black then this Action does nothing.
# Othewrwise, Black is run and its changes are committed back to the incoming pull request.
# https://github.com/cclauss/autoblack
name: blacken
on: [pull_request]
jobs:
build:
name: Check Format
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Black & isort
run: pip install --upgrade black isort pymmh3
- name: Run black
run: black --check .