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 35dd8c1 commit 8f4ebde
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 @@ -51,4 +52,16 @@ extend-ignore = [
"Q003",
"W191",
]
isort.known-third-party = [
"ctk",
"qt",
"slicer",
"SlicerCustomAppUtilities",
"vtk",
]
isort.known-first-party = [
"Home",
"HomeLib",
"Resources",
]
pydocstyle.convention = "pep257"

0 comments on commit 8f4ebde

Please sign in to comment.