Skip to content

feat: add github workflows #3

feat: add github workflows

feat: add github workflows #3

Workflow file for this run

name: Lint Python Code
on:
pull_request:
branches:
- master
push:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check code formatting with black
black --check --diff $(git ls-files '*.py')

Check failure on line 25 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 25