Skip to content

Commit

Permalink
maint: remove yt/__init__.py from exclude lists for isort
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jan 3, 2021
1 parent 44458de commit 9d9dfe0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# however `minimum_pre_commit_version` itself requires 1.15.0
minimum_pre_commit_version: "1.15.0"

# note: isort can't be applied to yt/__init__.py because it creates circular imports
exclude: "^(\
yt/extern\
|yt/frontends/stream/sample_data\
Expand All @@ -11,7 +10,6 @@ yt/extern\
|benchmark\
|setupext.py\
|yt/visualization/_colormap_data.py\
|yt/__init__.py\
)"

repos:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ exclude = '''
[tool.isort]
profile = "black"
combine_as_imports = true
# isort can't be applied to yt/__init__.py because it creates circular imports
skip = ["venv", "benchmarks", "yt/__init__.py"]
skip = ["venv", "benchmarks"]
known_third_party = [
"IPython",
"nose",
Expand Down

0 comments on commit 9d9dfe0

Please sign in to comment.