Pylint is a static code analysis tool for Python that helps identify programming errors, enforce a coding standard, and look for code smells. It evaluates Python code for various issues, such as:
Despite pylint enforces many useful requirements some of them are not practical and I would like to provide you a list of pylint errors/warnings that annoy you and you may suppress them:
invalid-name
– Invalid namemissing-module-docstring
– Missing module docstringmissing-function-docstring
– Missing function or method docstringuse-dict-key
– Use of a dict keyline-too-long
– Line too longtoo-many-lines
– Too many lines in modulewrong-import-order
– Wrong import ordertoo-many-function-args
– Too many positional argumentstoo-many-public-methods
– Too many public methodstoo-many-return-statements
– Too many return statementstoo-many-branches
– Too many branchestoo-many-arguments
– Too many argumentstoo-many-locals
– Too many local variablestoo-many-statements
– Too many statementstoo-many-nested-blocks
– Too many nested blocksno-else-return
– No nested blockprotected-access
– Access to a protected membercomparison-to-none
– Comparison to None should be 'if cond is None:'no-exception-type
– No exception type(s) specifiedunnecessary-parens
– Unnecessary parens after 'if' keyword