Skip to content

Commit

Permalink
ENH: Update ruff settings adding "isort" rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Aug 19, 2024
1 parent adc0404 commit 8a1401a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions {{cookiecutter.project_name}}/.ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ select = [
"E", "F", "W", # flake8
"EXE", # flake8-executable
"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"NPY", # NumPy specific rules
Expand Down Expand Up @@ -53,4 +54,16 @@ extend-ignore = [
]
flake8-annotations.suppress-dummy-args = true
flake8-annotations.suppress-none-returning = true
isort.known-third-party = [
"ctk",
"qt",
"slicer",
"SlicerCustomAppUtilities",
"vtk",
]
isort.known-first-party = [
"Home",
"HomeLib",
"Resources",
]
pydocstyle.convention = "pep257"

0 comments on commit 8a1401a

Please sign in to comment.