Skip to content

Commit

Permalink
Refs #33476 -- Added GitHub action to run black linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Feb 3, 2022
1 parent e295eed commit 8225080
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/linters.yml
Expand Up @@ -43,3 +43,19 @@ jobs:
with:
linters: isort
run: isort --check --diff django tests scripts

black:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- run: python -m pip install black
- name: black
uses: liskin/gh-problem-matcher-wrap@v1
with:
linters: black
run: black --check --diff .

0 comments on commit 8225080

Please sign in to comment.