Skip to content

Commit

Permalink
Resolve issue with argument in pyproject.toml for isort
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksymilian-Plywaczyk committed Nov 27, 2023
1 parent 1d3a745 commit a66c0c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: python-isort
uses: isort/isort-action@v1
with:
isort-version: 5.10.1
isort-version: 5.10.1

- name: Black Check
uses: jpetrucciani/[email protected]
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ repos:
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]

- repo:
https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[tool.isort]
profile="black"
src_paths=["src", "tests"]



[tool.black]
line-length = 88
include = '\.pyi?$'
Expand Down

0 comments on commit a66c0c7

Please sign in to comment.