run black in CI
This commit is contained in:
13
.github/workflows/main.yml
vendored
Normal file
13
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: python
|
||||||
|
run: |
|
||||||
|
sudo apt-get install python3
|
||||||
|
- name: lint
|
||||||
|
run: |
|
||||||
|
pip install black
|
||||||
|
black --check --exclude migrations mfa/ example/ setup.py
|
||||||
Reference in New Issue
Block a user