diff --git a/check_source/check_spelling_c_config.py b/check_source/check_spelling_c_config.py index e6a0424cd40182f55ead1f189dd47bd4fbd8cdfe..cf7e6f6b4f43be6283695716313985d12ccae442 100644 --- a/check_source/check_spelling_c_config.py +++ b/check_source/check_spelling_c_config.py @@ -22,20 +22,23 @@ # correct spelling but ignore dict_custom = { + "accessor", "accessors", "adjoint", "adjugate", "allocator", "atomicity", "boolean", + "breaked", "completers", "confusticate", "confusticated", "decrement", "decrementing", + "deduplication", "dereference", "dereferenced", "desaturate", "destructors", + "discretization", "editability", - "enqueue", - "enqueues", + "enqueue", "enqueued", "enqueues", "equiangular", "finalizer", "initializer" @@ -45,9 +48,13 @@ dict_custom = { "natively", "parallelization", "parallelized", + "parameterization", + "postprocessed", "precalculate", "prepend", + "prepends", "probabilistically", + "rasterizing", "reachability", "recurse", "recurses", "redistributions", @@ -55,12 +62,19 @@ dict_custom = { "registerable", "rendeder", "reparametization", + "serializable", "subclass", "subclasses", "subclassing", "subdirectory", "unary", - "unregister", + "unbuffered", + "unclamped", + "uncomment", + "uneditable", + "unparameterized", + "unregister", "unregisters", "unselected", "variadic", + "vectorial", # python types "enum", "enums", @@ -72,25 +86,31 @@ dict_custom = { "func", "repr", - # accepted abbreviations + # Accepted abbreviations/concatinations. "addon", "addons", "autocomplete", + "colospace", "config", "coord", "coords", "dir", + "iter", "keyframe", "keyframing", "lookup", "lookups", "multi", - "multithreading", + "multithreaded", "multithreading", "namespace", "recalc", + "runtime", "struct", "structs", "subdir", "tooltip", + "ortho", # general computer terms "XXX", "app", + "ascii", + "autocomplete", "autorepeat", "blit", "blitting", "boids", @@ -121,6 +141,7 @@ dict_custom = { "stdin", "stdout", "sudo", + "threadsafe", "touchpad", "touchpads", "trackpad", "trackpads", "unicode", @@ -134,18 +155,22 @@ dict_custom = { "ack", "amiga", "bzflag", + "cmake", "ffmpeg", "freebsd", "irix", "kde", + "linux", "manpage", "mozilla", "netscape", + "openexr" "posix", "qtcreator", "scons", "sdl", "unix", + "valgrind", "xinerama", # general computer graphics terms @@ -153,6 +178,7 @@ dict_custom = { "barycentric", "bezier", "bicubic", + "bitangent", "centroid", "colinear", "compositing", @@ -160,6 +186,7 @@ dict_custom = { "deinterlace", "emissive", "fresnel", + "gaussian", "kerning", "lacunarity", "lossless", @@ -198,59 +225,67 @@ dict_custom = { # incorrect spelling but ignore anyway dict_ignore = { - "tri", - "quad", - "eg", - "ok", - "ui", - "uv", + "a-z", + "animatable", "arg", "args", - "vec", - "loc", - "dof", "bool", + "dirpath", + "dof", "dupli", - "readonly", + "eg", + "filename", "filenames", "filepath", "filepaths", - "filename", "filenames", - "submodule", "submodules", - "dirpath", - "x-axis", - "y-axis", - "z-axis", - "a-z", + "hardcoded", "id-block", + "inlined", + "loc", "node-trees", - "pylint", + "ok", + "param", + "polyline", "polylines", "premultiply" + "pylint", + "quad", + "readonly", + "submodule", "submodules", + "tooltips", + "tri", + "ui", + "unfuzzy", + "utils", + "uv", + "vec", "wireframe", + "x-axis", + "y-axis", + "z-axis", # acronyms + "api", "cpu", + "gl", + "gpl", "gpu", - "nan", - "utf", - "rgb", "gzip", - "ppc", - "gpl", - "rna", + "hg", + "ik", + "lhs", + "nan", "nla", - "api", + "ppc", + "rgb", "rhs", - "lhs", - "ik", + "rna", "smpte", "svn", - "hg", - "gl", + "utf", # extensions - "xpm", - "xml", "py", "rst", + "xml", + "xpm", # tags "fixme", @@ -260,11 +295,12 @@ dict_ignore = { "rtype", # slang - "hrmf", "automagically", + "hacky", + "hrmf", # names - "jahka", "campbell", + "jahka", "mikkelsen", "morten", } diff --git a/check_source/check_style_c.py b/check_source/check_style_c.py index d8e4e5a86c4faa1c29eac11efb14a29f939bef91..606a7f6a3cf28b1343775b6c14903999b38bcf9b 100755 --- a/check_source/check_style_c.py +++ b/check_source/check_style_c.py @@ -1424,7 +1424,7 @@ def scan_source_filepath(filepath, args, fn, cache=None): if cache: cache_result = scan_source_filepath__cached(filepath, args, fn, cache) if cache_result is None: - # No need to ececute + # No need to execute. return else: cache_files_src, cache_files_dst, fn = cache_result