mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-07 19:08:35 +03:00
21 lines
434 B
YAML
21 lines
434 B
YAML
name: Lint
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
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 . |