[Bf-docboard-svn] bf-manual: [9133] trunk/blender_docs/tools_rst/rst_check_spelling_config.py: Cleanup: format for spelling dictionary

Campbell Barton noreply at blender.org
Sun Mar 20 12:10:02 CET 2022


Revision: 9133
          https://developer.blender.org/rBM9133
Author:   campbellbarton
Date:     2022-03-20 12:10:02 +0100 (Sun, 20 Mar 2022)
Log Message:
-----------
Cleanup: format for spelling dictionary

Use a single word per line, simplifies editing.

Modified Paths:
--------------
    trunk/blender_docs/tools_rst/rst_check_spelling_config.py

Modified: trunk/blender_docs/tools_rst/rst_check_spelling_config.py
===================================================================
--- trunk/blender_docs/tools_rst/rst_check_spelling_config.py	2022-03-20 11:04:45 UTC (rev 9132)
+++ trunk/blender_docs/tools_rst/rst_check_spelling_config.py	2022-03-20 11:10:02 UTC (rev 9133)
@@ -1,11 +1,13 @@
 # Apache License, Version 2.0
 
-# these must be all lower case for comparisons
+# These must be all lower case for comparisons.
 
-# correct spelling but ignore
+# Custom dictionary.
 dict_custom = {
+    # Correct spelling.
     "adaptively",
-    "adjoint", "adjugate",
+    "adjoint",
+    "adjugate",
     "allocator",
     "atomicity",
     "boolean",
@@ -29,23 +31,28 @@
     "screencast",
     "selectability",
     "stylization",
-    "subclass", "subclasses", "subclassing",
+    "subclass",
+    "subclasses",
+    "subclassing",
     "subdirectory",
     "unregister",
     "unselected",
     "variadic",
 
-    # accepted abbreviations
+    # Accepted abbreviations.
     "autocomplete",
     "config",
-    "coord", "coords",
-    "keyframe", "keyframing",
-    "lookup", "lookups",
+    "coord",
+    "coords",
+    "keyframe",
+    "keyframing",
+    "lookup",
+    "lookups",
     "multi",
     "multithreading",
     "tooltip",
 
-    # general computer terms
+    # General computer terms.
     "app",
     "autorepeat",
     "boids",
@@ -57,10 +64,12 @@
     "diffs",
     "endian",
     "env",
-    "euler", "eulers",
+    "euler",
+    "eulers",
     "hashable",
     "http",
-    "jitter", "jittering",
+    "jitter",
+    "jittering",
     "keymap",
     "lerp",
     "metadata",
@@ -73,16 +82,20 @@
     "stdin",
     "stdout",
     "sudo",
-    "touchpad", "touchpads",
-    "trackpad", "trackpads",
+    "touchpad",
+    "touchpads",
+    "trackpad",
+    "trackpads",
     "unicode",
     "url",
-    "vert", "verts",
+    "vert",
+    "verts",
     "volumetric",
-    "voxel", "voxels",
+    "voxel",
+    "voxels",
     "wiki",
 
-    # general computer graphics terms
+    # General computer graphics terms.
     "atomics",
     "autofocus",
     "barycentric",
@@ -98,9 +111,12 @@
     "fresnel",
     "kerning",
     "lacunarity",
-    "multisample", "multisampling", "multisampled",
+    "multisample",
+    "multisampled",
+    "multisampling",
     "musgrave",
-    "ngon", "ngons",
+    "ngon",
+    "ngons",
     "normals",
     "nurbs",
     "octree",
@@ -109,11 +125,12 @@
     "quaternions",
     "radiosity",
     "reflectance",
-    "shader", "shaders",
+    "shader",
+    "shaders",
     "specular",
     "uber",
 
-    # specific computer terms/brands
+    # Specific computer terms/brands.
     "ffmpeg",
     "macos",
     "nvidia",
@@ -124,7 +141,8 @@
     "xinerama",
 
     # Blender specific terms
-    "matcap", "matcaps",
+    "matcap",
+    "matcaps",
 
     # should have apostrophe but ignore for now
     # unless we want to get really picky!
@@ -132,16 +150,18 @@
     "vertices",
 }
 
-# incorrect spelling but ignore anyway
+# Incorrect spelling but ignore anyway.
 dict_ignore = {
     "a-z",
-    "arg", "args",
+    "arg",
+    "args",
     "bool",
     "dirpath",
     "dof",
     "dupli",
     "eg",
-    "filename", "filenames",
+    "filename",
+    "filenames",
     "filepath",
     "filepaths",
     "loc",
@@ -148,7 +168,8 @@
     "node-trees",
     "quad",
     "readonly",
-    "submodule", "submodules",
+    "submodule",
+    "submodules",
     "tri",
     "ui",
     "uv",
@@ -157,7 +178,7 @@
     "y-axis",
     "z-axis",
 
-    # acronyms
+    # Acronyms.
     "api",
     "bvh",
     "cpu",
@@ -176,13 +197,13 @@
     "rgb",
     "rgba",
 
-    # file formats
+    # File formats.
     "fbx",
     "svg",
     "png",
     "exr",
 
-    # names
+    # Names.
     "Dalai",
     "Goralczyk",
     "Roosendaal",



More information about the Bf-docboard-svn mailing list