aymanizz/smalld-click

View on GitHub
.github/workflows/fmt.yml

Summary

Maintainability
Test Coverage
name: Fmt

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  fmt:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install tox
    - name: Fmt with tox
      run: tox -e fmt
    - name: Verify
      run: git diff --exit-code