Skip to content

Commit 5d1b047

Browse files
committed
Switch isort away from pyproject.toml
1 parent 039e3dd commit 5d1b047

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
repos:
2+
23
- repo: https://github.com/pre-commit/pre-commit-hooks
34
rev: v2.5.0
45
hooks:
@@ -28,7 +29,6 @@ repos:
2829
rev: 4.3.21
2930
hooks:
3031
- id: isort
31-
additional_dependencies: [toml]
3232
files: \.py$
3333

3434
- repo: https://github.com/psf/black

pyproject.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.

setup.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,18 @@ omit =
2929
[coverage:report]
3030
show_missing = False
3131
skip_covered = True
32+
33+
[tool:isort]
34+
line_length = 88
35+
force_grid_wrap = 0
36+
37+
multi_line_output = 3
38+
include_trailing_comma = True
39+
use_parentheses = True
40+
41+
# No import comments, thanks.
42+
import_heading_future =
43+
import_heading_stdlib =
44+
import_heading_thirdparty =
45+
import_heading_firstparty =
46+
import_heading_localfolder =

0 commit comments

Comments
 (0)