Skip to content

🔧 Update black-lint.yml #28

🔧 Update black-lint.yml

🔧 Update black-lint.yml #28

Workflow file for this run

name: Lint with black
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Analysing the code with black
run: |
black --check /src