Skip to content

Commit

Permalink
Merge pull request #4 from ninerealmlabs/fix/custom-isort
Browse files Browse the repository at this point in the history
fix: ensure custom isort sections are included in ruff section order
  • Loading branch information
ahgraber authored May 13, 2024
2 parents 5df7a72 + 1ec39c5 commit 80eb93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/{% if ruff %}.ruff.toml{% endif %}.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ force-to-top = ["src", "torch"]
relative-imports-order = "closest-to-furthest"
known-local-folder = ["src"] # for relative imports
section-order = ["future", "standard-library", "third-party", "sci", "torch", "plot", "first-party", "local-folder"]
section-order = ["future", "standard-library", "third-party", "sci", "torch", "llm", "plot", "first-party", "local-folder"]
[lint.isort.sections]
"sci" = ["numpy", "pandas", "scipy", "sklearn", "statsmodels"]
Expand Down

0 comments on commit 80eb93a

Please sign in to comment.