Skip to content

Commit

Permalink
Actions: Add lint
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jan 3, 2021
1 parent 62108f5 commit 4185f7f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: psf/black@stable
- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
- name: flake8
run: |
pip install flake8
flake8 pymysql

0 comments on commit 4185f7f

Please sign in to comment.