This repository was archived by the owner on Jan 31, 2025. It is now read-only.
fixup #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Check black | |
uses: psf/black@stable | |
- name: Set up flake8 GitHub annotations | |
uses: rbialon/flake8-annotations@v1 | |
- name: Check flake8 | |
run: | | |
pip install flake8 | |
flake8 . |