mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: add trailing commas for multi-line collections
Avoid accidentally missing commas between strings, see: T101020. Also use single quotes for enum identifiers.
This commit is contained in:
parent
657a5f205a
commit
7571222a69
28 changed files with 102 additions and 91 deletions
|
|
@ -218,7 +218,7 @@ class TestBufferProtocol(TestHelper, unittest.TestCase):
|
|||
def assertEqualMemviews(self, view1, view2):
|
||||
props_to_compare = (
|
||||
"contiguous", "format", "itemsize", "nbytes", "ndim",
|
||||
"readonly", "shape", "strides", "suboffsets"
|
||||
"readonly", "shape", "strides", "suboffsets",
|
||||
)
|
||||
for attr in props_to_compare:
|
||||
self.assertEqual(getattr(view1, attr), getattr(view2, attr))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue