Skip to content

changes to the intra-layer API for the GPT benchmark #57

changes to the intra-layer API for the GPT benchmark

changes to the intra-layer API for the GPT benchmark #57

name: formatting tests
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
formatting:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
- name: Update black
run: |
pip install --upgrade black
- name: Lint and Format Check with flake8 and black
run: |
black --diff --check .
flake8