Newer
Older
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# ##### END GPL LICENSE BLOCK #####
# <pep8 compliant>
# these must be all lower case for comparisons
# correct spelling but ignore
dict_custom = {
"boolean",
"decrement",
"decrementing",
"desaturate",
"enqueue",
"equiangular",
"instantiation",
"iterable",
"merchantability",
"prepend",
"probabilistically",
"recurse",
"subclass", "subclasses", "subclassing",
"subdirectory",
"unregister",
"unselected",
# python types
"enum", "enums",
"int", "ints",
"tuple", "tuples",
# python functions
"func",
# accepted abbreviations
"addon", "addons",
"autocomplete",
"coord", "coords",
"dir",
"keyframe", "keyframing",
"lookup", "lookups",
"multi",
"namespace",
"recalc",
"struct", "structs",
"subdir",
"tooltip",
# general computer terms
"XXX",
"app",
"autorepeat",
"boids",
"booleans",
"codepage",
"decimator",
"diff",
"diffs",
"endian",
"env",
"euler", "eulers",
"foo",
"hashable",
"http",
"intrinsics",
"keymap",
"lerp",
"metadata",
"opengl",
"preprocessor",
"quantized",
"searchable",
"stdin",
"stdin",
"touchpad", "touchpads",
"trackpad", "trackpads",
"unicode",
"vert", "verts",
"voxel", "voxels",
"wiki",
# specific computer terms/brands
"mozilla",
"netscape",
"posix",
# general computer graphics terms
"barycentric",
"bezier",
"bicubic",
"deinterlace",
"emissive",
"lacunarity",
"musgrave",
"nurbs",
"quaternions",
"radiosity",
"reflectance",
"shader",
"shaders",
"specular",
# blender terms
"bmain",
"bmesh",
"bpy",
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
"obdata",
# should have apostrophe but ignore for now
# unless we want to get really picky!
"indices",
"vertices",
}
# incorrect spelling but ignore anyway
dict_ignore = {
"tri",
"quad",
"eg",
"ok",
"ui",
"uv",
"arg", "args",
"vec",
"loc",
"dof",
"bool",
"dupli",
"readonly",
"filepath",
"filepaths",
"filename", "filenames",
"submodule", "submodules",
"dirpath",
"x-axis",
"y-axis",
"z-axis",
"a-z",
"id-block",
"node-trees",
"pylint",
# acronyms
"cpu",
"gpu",
"nan",
"utf",
"rgb",
"gzip",
"ppc",
"gpl",
"rna",
"nla",
"api",
"rhs",
"lhs",
"ik",
"smpte",
"svn",
"hg",
"gl",
# extensions
"xpm",
"xml",
"py",
"rst",
# tags
"fixme",
"todo",
# sphinx/rst
"rtype",
# slang
"hrmf",
"automagically",
# names
"jahka",
"campbell",
"mikkelsen", "morten",
}