Skip to content

Commit 50ace3a

Browse files
committed
Revert isort on package init files
These init files are manually sorted for better documentation and also sometimes to avoid circular imports.
1 parent 5f6a194 commit 50ace3a

File tree

14 files changed

+629
-540
lines changed

14 files changed

+629
-540
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ target-version = ['py37', 'py38', 'py39', 'py310']
6868

6969
[tool.coverage.run]
7070
branch = true
71-
source = ["src"]
71+
source = ["src", "tests"]
7272
omit = [
7373
"*/conftest.py",
7474
"*/test_*_fuzz.py",
@@ -96,6 +96,8 @@ exclude_lines = [
9696
ignore_errors = true
9797

9898
[tool.isort]
99+
src_paths = ["src", "tests"]
100+
skip_glob = ["src/**/__init__.py"]
99101
profile = "black"
100102
force_single_line = false
101103
lines_after_imports = 2

0 commit comments

Comments
 (0)