File tree Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Original file line number Diff line number Diff line change 11[tool .usort ]
22
3- categories = [
4- " future" ,
5- " standard_library" ,
6- " third_party" ,
7- # PyTorch core needs to imported before any other PyTorch derivative, because it does some magic in the background.
8- " pytorch_core" ,
9- " first_party" ,
10- # This category are contains local utility modules from our references/ and test/ folder. usort mistakes them for
11- # third party packages if we don't specify them manually.
12- " local_utils" ,
13- ]
14-
15- [tool .usort .known ]
16-
17- pytorch_core = [" torch" ]
18- first_party = [" torchvision" ]
19-
20- local_utils = [
21- " _utils_internal" ,
22- " coco_utils" ,
23- " common_utils" ,
24- " datasets_utils" ,
25- " engine" ,
26- " group_by_aspect_ratio" ,
27- " loss" ,
28- " model" ,
29- " presets" ,
30- " sampler" ,
31- " scheduler" ,
32- " utils" ,
33- ]
3+ first_party_detection = false
344
355[tool .black ]
366
You can’t perform that action at this time.
0 commit comments