Skip to content

Workflow file for this run

name: Check code formatting
on: [push, pull_request]
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
- run: pip3 install --user -r requirements.txt
- run: pylint pyoptmat
- run: black --check pyoptmat