Cleanup: clang-tidy suppress warnings for PyTypeObject.tp_print
Clang-tidy behavior changes from Python 3.7 to 3.8+ so it's simplest to suppress the warning in this instance.
This commit is contained in:
		| @@ -770,6 +770,8 @@ PyTypeObject Operators_Type = { | ||||
|     sizeof(BPy_Operators),                         /* tp_basicsize */ | ||||
|     0,                                             /* tp_itemsize */ | ||||
|     (destructor)Operators_dealloc,                 /* tp_dealloc */ | ||||
|     /* Incompatible with Python3.8+ (deprecated function). | ||||
|      * NOLINTNEXTLINE: modernize-use-nullptr. */ | ||||
|     0,                                             /* tp_print */ | ||||
|     nullptr,                                       /* tp_getattr */ | ||||
|     nullptr,                                       /* tp_setattr */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user