Skip to content

Commit

Permalink
feat: add isort action
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdayma committed Nov 30, 2021
1 parent 8db9ed4 commit 8b80a79
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install requirements
run: pip install ".[dev]"
- uses: jamescurtin/isort-action@master
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.isort]
profile = "black"

0 comments on commit 8b80a79

Please sign in to comment.