We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705008c commit f2e224cCopy full SHA for f2e224c
pyproject.toml
@@ -5,17 +5,20 @@ categories = [
5
"standard_library",
6
"third_party",
7
"pytorch",
8
+ "pytorch_derivatives",
9
"first_party",
- "local_test_utils",
10
]
11
12
+# This flag is needed to group torchvision into 'pytorch_derivatives' rather than 'first_party'
13
+first_party_detection = false
14
+
15
[tool.usort.known]
16
17
pytorch = ["torch"]
-first_party = ["torchvision"]
18
+pytorch_derivatives = ["torchvision"]
19
# These are local utilities in our test/ folder. Since that folder is not a Python package, i.e. test/__init__.py is
20
# missing, usort mistakes these modules as third party packages.
-local_test_utils = [
21
+first_party = [
22
"_utils_internal",
23
"common_utils",
24
"dataset_utils",
0 commit comments