E71.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #: E711:7
  2. if res == None:
  3. pass
  4. #: E711:7
  5. if res != None:
  6. pass
  7. #: E711:8
  8. if None == res:
  9. pass
  10. #: E711:8
  11. if None != res:
  12. pass
  13. #: E711:10
  14. if res[1] == None:
  15. pass
  16. #: E711:10
  17. if res[1] != None:
  18. pass
  19. #: E711:8
  20. if None != res[1]:
  21. pass
  22. #: E711:8
  23. if None == res[1]:
  24. pass
  25. #
  26. #: E712:7
  27. if res == True:
  28. pass
  29. #: E712:7
  30. if res != False:
  31. pass
  32. #: E712:8
  33. if True != res:
  34. pass
  35. #: E712:9
  36. if False == res:
  37. pass
  38. #: E712:10
  39. if res[1] == True:
  40. pass
  41. #: E712:10
  42. if res[1] != False:
  43. pass
  44. if x is False:
  45. pass
  46. #
  47. #: E713:9
  48. if not X in Y:
  49. pass
  50. #: E713:11
  51. if not X.B in Y:
  52. pass
  53. #: E713:9
  54. if not X in Y and Z == "zero":
  55. pass
  56. #: E713:24
  57. if X == "zero" or not Y in Z:
  58. pass
  59. #
  60. #: E714:9
  61. if not X is Y:
  62. pass
  63. #: E714:11
  64. if not X.B is Y:
  65. pass
  66. #
  67. # Okay
  68. if x not in y:
  69. pass
  70. if not (X in Y or X is Z):
  71. pass
  72. if not (X in Y):
  73. pass
  74. if x is not y:
  75. pass
  76. if TrueElement.get_element(True) == TrueElement.get_element(False):
  77. pass
  78. if (True) == TrueElement or x == TrueElement:
  79. pass
  80. assert (not foo) in bar
  81. assert {'x': not foo} in bar
  82. assert [42, not foo] in bar