Skip to content

Commit cdb145b

Browse files
committed
feat(VSCODE) ISort on save; src-paths for isort cfg
1 parent 0774c02 commit cdb145b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"files.trimFinalNewlines": true,
55
"files.trimTrailingWhitespace": true,
66
"editor.formatOnSave": true,
7+
"editor.codeActionsOnSave": {
8+
"source.organizeImports": true,
9+
},
710
"python.testing.unittestEnabled": false,
811
"python.testing.nosetestsEnabled": false,
912
"python.testing.pytestEnabled": true,
@@ -17,5 +20,6 @@
1720
"**/.ipynb_checkpoints/": true,
1821
"**/build/**": true,
1922
"**/.coverage*": true
20-
}
23+
},
24+
"restructuredtext.confPath": ""
2125
}

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ exclude = '''
2424
'''
2525

2626
[tool.isort]
27-
profile = "black"
27+
profile = "black"
28+
remove_redundant_aliases = true
29+
src_paths = ["graphtik", "test", "docs/source"]

0 commit comments

Comments
 (0)