@@ -807,7 +807,7 @@ def incompatible_operator_assignment(self, op: str,
807807
808808 def overload_signature_incompatible_with_supertype (
809809 self , name : str , name_in_super : str , supertype : str ,
810- overload : Overloaded , context : Context ) -> None :
810+ context : Context ) -> None :
811811 target = self .override_target (name , name_in_super , supertype )
812812 self .fail ('Signature of "{}" incompatible with {}' .format (
813813 name , target ), context , code = codes .OVERRIDE )
@@ -1399,9 +1399,6 @@ def redundant_condition_in_comprehension(self, truthiness: bool, context: Contex
13991399 def redundant_condition_in_if (self , truthiness : bool , context : Context ) -> None :
14001400 self .redundant_expr ("If condition" , truthiness , context )
14011401
1402- def redundant_condition_in_assert (self , truthiness : bool , context : Context ) -> None :
1403- self .redundant_expr ("Condition in assert" , truthiness , context )
1404-
14051402 def redundant_expr (self , description : str , truthiness : bool , context : Context ) -> None :
14061403 self .fail ("{} is always {}" .format (description , str (truthiness ).lower ()),
14071404 context , code = codes .REDUNDANT_EXPR )
@@ -1855,8 +1852,7 @@ def format_type(typ: Type, verbosity: int = 0) -> str:
18551852
18561853
18571854def format_type_bare (typ : Type ,
1858- verbosity : int = 0 ,
1859- fullnames : Optional [Set [str ]] = None ) -> str :
1855+ verbosity : int = 0 ) -> str :
18601856 """
18611857 Convert a type to a relatively short string suitable for error messages.
18621858
0 commit comments