Debian Codegraph @

.github/workflows/blacken.yml

raw symbols SCIP
1 name: Format code
2
3 on:
4 push:
5 branches: [ master ]
6
7 jobs:
8 format:
9 runs-on: ubuntu-latest
10 steps:
11 - uses: actions/checkout@v2
12 - name: Format code with black
13 run: |
14 pip install black
15 black scalene
16 - name: Commit changes
17 uses: EndBug/add-and-commit@v4
18 with:
19 author_name: ${{ github.actor }}
20 author_email: ${{ github.actor }}@users.noreply.github.com
21 message: "Format code with black"
22 add: "."
23 branch: ${{ github.ref }}