mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-08 03:18:34 +03:00
manually specified all steps in linting workflow
This commit is contained in:
16
.github/workflows/lint.yml
vendored
16
.github/workflows/lint.yml
vendored
@@ -7,7 +7,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run isort
|
- name: Setup Python
|
||||||
uses: isort/isort-action@v1
|
uses: actions/setup-python@v4
|
||||||
- name: Run black
|
with:
|
||||||
uses: psf/black@stable
|
python-version: '3.9'
|
||||||
|
- name: Lint with Black
|
||||||
|
run: |
|
||||||
|
pip install black
|
||||||
|
black --check .
|
||||||
|
- name: Lint with isort
|
||||||
|
run: |
|
||||||
|
pip install isort
|
||||||
|
isort --check --profile=black .
|
||||||
Reference in New Issue
Block a user