E20.py 716 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #: E201:5
  2. spam( ham[1], {eggs: 2})
  3. #: E201:9
  4. spam(ham[ 1], {eggs: 2})
  5. #: E201:14
  6. spam(ham[1], { eggs: 2})
  7. # Okay
  8. spam(ham[1], {eggs: 2})
  9. #: E202:22
  10. spam(ham[1], {eggs: 2} )
  11. #: E202:21
  12. spam(ham[1], {eggs: 2 })
  13. #: E202:10
  14. spam(ham[1 ], {eggs: 2})
  15. # Okay
  16. spam(ham[1], {eggs: 2})
  17. result = func(
  18. arg1='some value',
  19. arg2='another value',
  20. )
  21. result = func(
  22. arg1='some value',
  23. arg2='another value'
  24. )
  25. result = [
  26. item for item in items
  27. if item > 5
  28. ]
  29. #: E203:9
  30. if x == 4 :
  31. foo(x, y)
  32. x, y = y, x
  33. if x == 4:
  34. #: E203:12 E702:13
  35. a = x, y ; x, y = y, x
  36. if x == 4:
  37. foo(x, y)
  38. #: E203:12
  39. x, y = y , x
  40. # Okay
  41. if x == 4:
  42. foo(x, y)
  43. x, y = y, x
  44. a[b1, :1] == 3
  45. b = a[:, b1]