Update version number and add Black lint (#65) #13
This file contains 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: Lint code with Black | |
on: | |
push: | |
branches: [ "master", "stable-[0-9]+.[0-9]+" ] | |
pull_request: | |
branches: [ "master", "stable-[0-9]+.[0-9]+" ] | |
jobs: | |
lint: | |
name: Lint code with Black | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Run Black | |
uses: psf/black@stable | |
with: | |
version: "~= 24.0" |