Skip to content

Update: fixing bug (python3.12 needed) #18

Update: fixing bug (python3.12 needed)

Update: fixing bug (python3.12 needed) #18

Workflow file for this run

name: black formatter
on:
push:
branches:
- main
- final_project
- gpu_branch
pull_request:
branches:
- main
- final_project
- gpu_branch
jobs:
linter:
name: Testing using black formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.10.16
- name: Set up Python environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install dependencies
run: |
source venv/bin/activate
python -m pip install black
- name: Check using Black
run: |
source venv/bin/activate
python -m black --check .