Skip to content

Merge pull request #7 from PierreBoyeau/ppi_mean_multid #110

Merge pull request #7 from PierreBoyeau/ppi_mean_multid

Merge pull request #7 from PierreBoyeau/ppi_mean_multid #110

Workflow file for this run

name: Auto-format with Black
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
auto-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Black
run: |
python -m pip install --upgrade pip
pip install black
- name: Run Black
run: |
black .
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
git commit -m "Auto-format with Black" || echo "No changes to commit"
git push