File tree Expand file tree Collapse file tree 3 files changed +354
-8
lines changed
Expand file tree Collapse file tree 3 files changed +354
-8
lines changed Original file line number Diff line number Diff line change 1+ # Contributing to ComfyUI_pytorch360convert
2+
3+ This project uses simple linting guidelines, as you'll see below.
4+
5+ ## Linting
6+
7+
8+ Linting is simple to perform.
9+
10+ ```
11+ pip install black flake8 mypy ufmt
12+
13+ ```
14+
15+ Linting:
16+
17+ ```
18+ cd ComfyUI_pytorch360convert
19+ black .
20+ ufmt format .
21+ cd ..
22+ ```
23+
24+ Checking:
25+
26+ ```
27+ cd ComfyUI_pytorch360convert
28+ black --check --diff .
29+ flake8 . --ignore=E203,W503 --max-line-length=88 --exclude build,dist
30+ ufmt check .
31+ mypy . --ignore-missing-imports --allow-redefinition --explicit-package-bases
32+ cd ..
33+ ```
Original file line number Diff line number Diff line change 11from .nodes import (
22 C2EMaskedDiffNode ,
33 C2ENode ,
4+ Crop360To180Node ,
45 CropImageWithCoordsNode ,
56 E2CNode ,
67 E2ENode ,
78 E2PNode ,
9+ MonoScopicToStereo ,
10+ Pad180To360Node ,
811 PasteImageWithCoordsNode ,
912 RollImageNode ,
1013 SplitFacesNode ,
1114 StackFacesNode ,
15+ StereoToMonoScopic ,
1216)
1317
1418NODE_CLASS_MAPPINGS = {
2226 "Masked Diff C2E" : C2EMaskedDiffNode ,
2327 "Crop Image with Coords" : CropImageWithCoordsNode ,
2428 "Paste Image with Coords" : PasteImageWithCoordsNode ,
29+ "Pad 180 to 360 Equirectangular" : Pad180To360Node ,
30+ "Crop 360 to 180 Equirectangular" : Crop360To180Node ,
31+ "Crop Stereo to Monoscopic" : StereoToMonoScopic ,
32+ "Merge Monoscopic into Stereo" : MonoScopicToStereo ,
33+
2534}
2635
2736NODE_DISPLAY_NAME_MAPPINGS = {
3544 "Masked Diff C2E" : "Masked Diff C2E" ,
3645 "Crop Image with Coords" : "Crop Image with Coords" ,
3746 "Paste Image with Coords" : "Paste Image with Coords" ,
47+ "Pad 180 to 360 Equirectangular" : "Pad 180 to 360 Equirectangular" ,
48+ "Crop 360 to 180 Equirectangular" : "Crop 360 to 180 Equirectangular" ,
49+ "Crop Stereo to Monoscopic" : "Crop Stereo to Monoscopic" ,
50+ "Merge Monoscopic into Stereo" : "Merge Monoscopic into Stereo" ,
3851}
You can’t perform that action at this time.
0 commit comments