PyCharm ignored inspections

PEP 8 coding style violation (Error codes):

  • E402: module level import not at top of file
  • E501: line too long (82 > 79 characters)
  • E702: multiple statements on one line (semicolon)
  • E731: do not assign a lambda expression, use a def
  • E741: do not use variables named ‘l’, ‘O’, or ‘I’

PEP 8 naming convention violation (Error codes):

  • N801: class names should use CapWords convention
  • N802: function name should be lowercase
  • N803: argument name should be lowercase
  • N806: variable in function should be lowercase
  • N812: lowercase imported as non-lowercase
  • N813: camelcase imported as lowercase
  • N814: camelcase imported as constant

PyCharm ignored inspections
https://xyfjason.github.io/blog-main/2023/12/26/PyCharm-ignored-inspections/
作者
xyfJASON
发布于
2023年12月26日
许可协议