diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-20 08:47:24 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-20 08:47:24 +0300 |
commit | 67516d0daec75b9bd2953aac456891b6c0ae62af (patch) | |
tree | 3fff2f3a978a7c49650a8c027875b088fe1be678 /doc | |
parent | 8ed8fa80f449f2fb88bd0f1e4665e7e3bd0dae6a (diff) |
Cleanup: run autopep8 with max-line-length=120
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 477d2196666..eba12b75b63 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -409,7 +409,9 @@ BLENDER_VERSION_DOTS = "%d.%d" % (bpy.app.version[0], bpy.app.version[1]) if BLENDER_REVISION != "Unknown": # SHA1 Git hash BLENDER_VERSION_HASH = BLENDER_REVISION - BLENDER_VERSION_HASH_HTML_LINK = "<a href=https://developer.blender.org/rB%s>%s</a>" % (BLENDER_VERSION_HASH, BLENDER_VERSION_HASH) + BLENDER_VERSION_HASH_HTML_LINK = "<a href=https://developer.blender.org/rB%s>%s</a>" % ( + BLENDER_VERSION_HASH, BLENDER_VERSION_HASH, + ) BLENDER_VERSION_DATE = time.strftime("%d/%m/%Y", time.localtime(BLENDER_REVISION_TIMESTAMP)) else: # Fallback: Should not be used @@ -1241,7 +1243,9 @@ def pycontext2sphinx(basepath): try: member_type, is_seq = context_type_map[member] except KeyError: - raise SystemExit("Error: context key %r not found in context_type_map; update %s" % (member, __file__)) from None + raise SystemExit( + "Error: context key %r not found in context_type_map; update %s" % + (member, __file__)) from None fw(" :type: %s :class:`bpy.types.%s`\n\n" % ("sequence of " if is_seq else "", member_type)) i += 1 |