[MESSAGES CONTROL] # Disabling messages that we either don't care about for tests or are necessary to break for tests. disable = invalid-name, # we prefer long, descriptive, names for tests missing-docstring, # we don't write docstrings for tests bad-continuation, # we let black handle this ungrouped-imports, # we let isort handle this duplicate-code, # unit tests for similar things tend to be similar redefined-outer-name, # raised when using decorators # All below are disabled because we need to support Python 2 useless-object-inheritance, raise-missing-from, super-with-arguments, consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation [FORMAT] max-line-length = 120 [REPORTS] msg-template = {path}:{line}: [{msg_id}({symbol}), {obj}] {msg}