Skip to content

Only initialize inter-layer if G_inter > 1 #52

Only initialize inter-layer if G_inter > 1

Only initialize inter-layer if G_inter > 1 #52

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