summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-10-08 19:38:41 -0700
committerpepperpepperpepper <pepper@scannerjammer.com>2015-10-08 19:38:41 -0700
commit65915957b1e99e979f298cdba5d30284c1b3df0f (patch)
tree42bbaa8673528e1d9befe5627ef26026d103427f
parent2c525be865efe06088425369813240992e02b373 (diff)
fixed many many things
-rw-r--r--ricky/imgradient/options.py90
1 files changed, 45 insertions, 45 deletions
diff --git a/ricky/imgradient/options.py b/ricky/imgradient/options.py
index 0873c2c..3caa3e6 100644
--- a/ricky/imgradient/options.py
+++ b/ricky/imgradient/options.py
@@ -1,28 +1,28 @@
from ricky.param.options import Options
width_options = Options.from_dict(
- { "value" : 400, "weight" : 1 },
- { "value" : 600, "weight" : 1 },
+ {"value": 400, "weight": 1},
+ {"value": 600, "weight": 1},
)
height_options = Options.from_dict(
- { "value" : 400, "weight" : 1 },
- { "value" : 600, "weight" : 1 },
+ {"value": 400, "weight": 1},
+ {"value": 600, "weight": 1},
)
color1_options = Options.from_dict(
- { "value" : "black", "weight" : 1 },
- { "value" : "white", "weight" : 2 },
+ {"value": "black", "weight": 1},
+ {"value": "white", "weight": 2},
)
color2_options = Options.from_dict(
- { "value" : "black", "weight" : 2 },
- { "value" : "white", "weight" : 1 },
+ {"value": "black", "weight": 2},
+ {"value": "white", "weight": 1},
)
stripes_options = Options.from_dict(
- {"value":"true", "weight": 1},
- {"value":"false", "weight": 1},
+ {"value": "true", "weight": 1},
+ {"value": "false", "weight": 1},
)
stripenumber_options = Options.from_dict(
- {"value":1, "weight": 50},
- {"value":2, "weight": 50},
+ {"value": 1, "weight": 50},
+ {"value": 2, "weight": 50},
)
# contrast_options = \
stripeintensity_options = \
@@ -30,55 +30,55 @@ stripeintensity_options = \
saturation_options = \
hue_options = \
Options.from_dict(
- {"value": "", "weight": 300},
+ {"value": "", "weight": 300},
)
halftone_options = Options.from_dict(
- { "value" : "checkeredfade", "weight": 1 },
- { "value" : "etchedtransition", "weight": 1 },
- { "value" : "bendaydots", "weight": 1 },
- { "value" : "smallerdots1", "weight": 1 },
- { "value" : "smallerdots2", "weight": 1 },
- { "value" : "flatstripes", "weight": 1 },
+ {"value": "checkeredfade", "weight": 1},
+ {"value": "etchedtransition", "weight": 1},
+ {"value": "bendaydots", "weight": 1},
+ {"value": "smallerdots1", "weight": 1},
+ {"value": "smallerdots2", "weight": 1},
+ {"value": "flatstripes", "weight": 1},
)
bevel_options = Options.from_dict(
- { "value" : "", "weight" : 4 },
- { "value" : "flatout", "weight" : 1 },
- { "value" : "flatinner", "weight" : 1 },
- { "value" : "evenlyframed", "weight" : 1 },
- { "value" : "biginner", "weight" : 1 },
- { "value" : "bigouter", "weight" : 1 },
- { "value" : "dramaticflatout", "weight" : 1 },
- { "value" : "dramaticflatinner", "weight" : 1 },
+ {"value": "", "weight": 4},
+ {"value": "flatout", "weight": 1},
+ {"value": "flatinner", "weight": 1},
+ {"value": "evenlyframed", "weight": 1},
+ {"value": "biginner", "weight": 1},
+ {"value": "bigouter", "weight": 1},
+ {"value": "dramaticflatout", "weight": 1},
+ {"value": "dramaticflatinner", "weight": 1},
)
blurriness_options = \
percentbeveled_options = Options.from_dict(
- { "value" : "", "weight": 4 },
+ {"value": "", "weight": 4},
)
rotate_options = \
tilt_options = Options.from_dict(
- {"value":"", "weight": 9},
- {"value":90, "weight": 2},
- {"value":180, "weight": 2},
- {"value":270, "weight": 2},
+ {"value": "", "weight": 9},
+ {"value": 90, "weight": 2},
+ {"value": 180, "weight": 2},
+ {"value": 270, "weight": 2},
)
flop_options = flip_options = Options.from_dict(
- {"value":"", "weight": 1},
- {"value":"true", "weight": 1},
+ {"value": "", "weight": 1},
+ {"value": "true", "weight": 1},
)
filetype_options = Options.from_dict(
- {"value":"png", "weight": 5},
- {"value":"jpg", "weight": 2},
- {"value":"gif", "weight": 2},
+ {"value": "png", "weight": 5},
+ {"value": "jpg", "weight": 2},
+ {"value": "gif", "weight": 2},
)
gradienttype_options = Options.from_dict(
- { "value" : "canvas", "weight" : 1 },
- { "value" : "gradient", "weight" : 3 },
- { "value" : "radial", "weight" : 1 },
- { "value" : "colorspace", "weight" : 1 },
- { "value" : "plasmawash", "weight" : 1 },
- { "value" : "gradientwash", "weight" : 1 },
- { "value" : "mirrored", "weight" : 1 },
- { "value" : "noise", "weight" : 1 },
+ {"value": "canvas", "weight": 1},
+ {"value": "gradient", "weight": 3},
+ {"value": "radial", "weight": 1},
+ {"value": "colorspace", "weight": 1},
+ {"value": "plasmawash", "weight": 1},
+ {"value": "gradientwash", "weight": 1},
+ {"value": "mirrored", "weight": 1},
+ {"value": "noise", "weight": 1},
)