We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d4b95 commit 10bea08Copy full SHA for 10bea08
scripts/breaking_changes_checker/detect_breaking_changes.py
@@ -260,6 +260,8 @@ def get_parameter_type(annotation) -> str:
260
if isinstance(annotation, ast.Attribute):
261
return annotation.attr
262
if isinstance(annotation, ast.Constant):
263
+ if annotation.value is None:
264
+ return "None"
265
return annotation.value
266
if isinstance(annotation, ast.Subscript):
267
if isinstance(annotation.slice, tuple):
@@ -396,6 +398,7 @@ def create_class_report(cls: Type) -> Dict:
396
398
m = getattr(cls, method)
397
399
except AttributeError:
400
_LOGGER.info(f"Skipping method check for {method} on {cls}.")
401
+ continue
402
403
if inspect.isfunction(m) or inspect.ismethod(m):
404
if inspect.iscoroutinefunction(m):
0 commit comments