mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-08 03:18:34 +03:00
sorted imports using isort and tried to add pre-commit hook for isort
This commit is contained in:
14
.github/workflows/lint.yml
vendored
Normal file
14
.github/workflows/lint.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
name: Lint
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Run isort
|
||||
- uses: actions/checkout@v3
|
||||
- uses: isort/isort-action@v1
|
||||
- name: Run black
|
||||
- uses: actions/checkout@v3
|
||||
- uses: psf/black@stable
|
||||
Reference in New Issue
Block a user