Merge remote-tracking branch 'origin/master' #1860
This file contains hidden or 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: Format code | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Format code with black | |
| run: | | |
| pip install black isort | |
| cd simba | |
| isort . | |
| - name: Commit changes | |
| uses: EndBug/add-and-commit@v4 | |
| with: | |
| author_name: ${{ github.actor }} | |
| author_email: ${{ github.actor }}@users.noreply.github.com | |
| message: "cleaned" | |
| add: "." | |
| branch: ${{ github.ref }} |