Skip to content

Commit

Permalink
Merge pull request CPJKU#288 from CPJKU/develop
Browse files Browse the repository at this point in the history
Release 1.3.1
  • Loading branch information
sildater authored Jul 7, 2023
2 parents 2f20289 + 36450da commit 81d1884
Show file tree
Hide file tree
Showing 39 changed files with 1,027 additions and 955 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ name: Blacken code
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
jobs:
format:
runs-on: ubuntu-latest
Expand All @@ -15,15 +12,14 @@ jobs:
- name: Format code with black
run: |
pip install black
black --include="\.py,\.pyi" --exclude="env/*,tests/*" .
black ./partitura
- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: "Format code with black"
message: "Format code with black (bot)"
add: "."
branch: ${{ github.ref }}
- name: Notify errors
if: failure()
uses: dawidd6/action-send-mail@v2
Expand All @@ -36,4 +32,4 @@ jobs:
body: "Format code with black failed"
to: ${{ secrets.EMAIL_TO }}
from: ${{ secrets.EMAIL_FROM }}
content_type: text/plain
content_type: text/plain
Loading

0 comments on commit 81d1884

Please sign in to comment.