Skip to content

Merge branch 'master' into fix-whitepaper-citations #1

Merge branch 'master' into fix-whitepaper-citations

Merge branch 'master' into fix-whitepaper-citations #1

Workflow file for this run

name: Format python code
on:
push:
paths:
- "**.py"
- "setup.cfg"
- "requirements-dev.txt"
- "pyproject.toml"
- "tests/run_code_style.sh"
- ".github/workflows/code-style.yml"
- "!assets/**"
- "!docker/**"
- "!docs/**"
- "!conda.recipe"
jobs:
code-style:
runs-on: ubuntu-latest
steps:
- if: github.event_name == 'push'
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- run: |
bash ./tests/run_code_style.sh install
bash ./tests/run_code_style.sh fmt
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "autopep8 fix"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}