Skip to content

Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 #315

Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0

Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 #315

Workflow file for this run

name: Code formatting
on:
push:
branches: [ master ]
pull_request:
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5.1.0
with:
python-version: 3.9
- name: Install black
run: |
# black==21.7b0
export BLACK_VERSION=$(grep black setup.py | egrep -o '==[0-9a-z.]+' | sed 's/=//g')
set -x
pip install black==${BLACK_VERSION}
- name: Check code formatting
run: |
black --check .