--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsFunctionVisitor.py Tue Aug 29 16:55:18 2023 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsFunctionVisitor.py Tue Aug 29 17:48:25 2023 +0200 @@ -573,10 +573,7 @@ # In the event of an explicit `None` return (`return None`), the # node body will be an instance `ast.Constant` (3.8+), which we # need to check to see if it's actually `None` - if ( - isinstance(node.value, ast.Constant) - and node.value.value is None - ): + if isinstance(node.value, ast.Constant) and node.value.value is None: return self.__nonNoneReturnNodes.add(self.__context[-1])