Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed6bb7e

Browse filesBrowse files
committed
style(examples): please our little puppy: hound
It seems that hound still think a line should only have 80 chars though you set it to 120. Signed-off-by: TsXor <zhang050525@qq.com>
1 parent 0089f9d commit ed6bb7e
Copy full SHA for ed6bb7e

File tree

Expand file treeCollapse file tree

4 files changed

+11
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+11
-4
lines changed

‎examples/emboss_action.py

Copy file name to clipboardExpand all lines: examples/emboss_action.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
"_classID": "contentLayer",
2727
"type": {
2828
"_classID": "solidColorLayer",
29-
"color": {"_classID": "RGBColor", "red": index, "grain": index, "blue": index},
29+
"color": {
30+
"_classID": "RGBColor",
31+
"red": index,
32+
"grain": index, "blue": index
33+
},
3034
},
3135
},
3236
}

‎examples/import_image_as_layer.py

Copy file name to clipboardExpand all lines: examples/import_image_as_layer.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010

1111
with Session(action="new_document") as ps:
12-
import_dict = {"_classID": None, "null": pathlib.Path("your/image/path")} # replace it with your own path here
12+
# replace it with your own path here
13+
import_dict = {"_classID": None, "null": pathlib.Path("your/image/path")}
1314
import_desc = ps.ActionDescriptor.load(import_dict)
1415
ps.app.executeAction(am.str2id("Plc "), import_desc) # `Plc` need one space in here.

‎examples/session_smart_sharpen.py

Copy file name to clipboardExpand all lines: examples/session_smart_sharpen.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
def SmartSharpen(inAmount, inRadius, inNoise):
2323
ss_dict = {
2424
"_classID": None,
25-
"presetKindType": am.Enumerated(type="presetKindType", value="presetKindCustom"),
25+
"presetKindType":
26+
am.Enumerated(type="presetKindType", value="presetKindCustom"),
2627
"amount": am.UnitDouble(unit="radius", double=inAmount),
2728
"radius": am.UnitDouble(unit="pixelsUnit", double=inRadius),
2829
"noiseReduction": am.UnitDouble(unit="percentUnit", double=inNoise),

‎examples/smart_sharpen.py

Copy file name to clipboardExpand all lines: examples/smart_sharpen.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
def SmartSharpen(inAmount, inRadius, inNoise):
2929
ss_dict = {
3030
"_classID": None,
31-
"presetKindType": am.Enumerated(type="presetKindType", value="presetKindCustom"),
31+
"presetKindType":
32+
am.Enumerated(type="presetKindType", value="presetKindCustom"),
3233
"amount": am.UnitDouble(unit="radius", double=inAmount),
3334
"radius": am.UnitDouble(unit="pixelsUnit", double=inRadius),
3435
"noiseReduction": am.UnitDouble(unit="percentUnit", double=inNoise),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.