Skip to content

Commit

Permalink
Added CI for isort
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed May 21, 2024
1 parent 50e1db4 commit f52666e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/isort.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Isort

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: isort/isort-action@v1
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@ testproject = [
"time-machine",
]
dev = [
"black<24.5.0"
"black<24.5.0",
"isort",
]

[tool.isort]
profile = "black"

0 comments on commit f52666e

Please sign in to comment.