Skip to content

1.0.0 (#329)

1.0.0 (#329) #152

name: Validate code formats.
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.8']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black flake8 isort
- name: Lint
run: |
flake8 --max-line-length 120 --extend-ignore E203 aiaccel
isort --check --diff --profile black aiaccel
black --check --line-length 120 aiaccel