Skip to content

Commit

Permalink
Added workflow for linters
Browse files Browse the repository at this point in the history
  • Loading branch information
lorinkoz committed Apr 18, 2020
1 parent 91c9cb5 commit 76cb4d5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/linters.yaml
@@ -0,0 +1,18 @@
name: linters
on: [push]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade black
- name: Run linters
run: |
black --check --exclude "migrations" django_pgschemas

0 comments on commit 76cb4d5

Please sign in to comment.