Skip to content

Commit 02be320

Browse files
Ben Dickinsonthibaudcolas
authored andcommitted
Update isort to be compatible with black
1 parent 76d5cd2 commit 02be320

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Markdown = "^3.1"
5353
beautifulsoup4 = "^4.8"
5454
coverage = "^4.5"
5555
flake8 = "^3.7"
56-
isort = {version = "^4.3", extras = ["pyproject"]}
56+
isort = "^5.10.1"
5757
mkdocs = "^1.1.2"
5858
mkdocs-material = "^5.5.14"
5959
pymdown-extensions = "^8.0"
@@ -65,9 +65,10 @@ black = "^21.12b0"
6565
known_first_party = "pattern_library"
6666
known_django = "django"
6767
skip = ".tox,venv,migrations,node_modules"
68+
skip_gitignore = true
6869
sections = "FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
6970
default_section = "THIRDPARTY"
70-
multi_line_output = 5
71+
profile = "black"
7172

7273
[build-system]
7374
requires = ["poetry>=1.1.12"]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ deps =
2222
commands =
2323
poetry install -q
2424
poetry run flake8
25-
poetry run isort --check-only --diff
26-
poetry run black --check .
25+
poetry run isort --check --diff .
26+
poetry run black --check --diff .
2727

2828
[flake8]
2929
ignore = C901,W503

0 commit comments

Comments
 (0)