22 lines
785 B
INI
22 lines
785 B
INI
[MESSAGES CONTROL]
|
|
# Disabling messages that we either don't care about
|
|
# for tests or are necessary to break for tests.
|
|
#
|
|
# C0103 : invalid-name (we prefer long, descriptive, names for tests)
|
|
# C0111 : missing-docstring (we don't write docstrings for tests)
|
|
# E1101 : no-member (raised on patched objects with mock checks)
|
|
# R0801 : duplicate-code (unit tests for similar things tend to be similar)
|
|
# W0212 : protected-access (raised when calling _ methods)
|
|
# W0621 : redefined-outer-name (raised when using pytest-mock)
|
|
# W0613 : unused-argument (raised when patches are needed but not called)
|
|
disable = C0103, C0111, E1101, R0801, W0212, W0621, W0613
|
|
|
|
[DESIGN]
|
|
max-args = 10
|
|
|
|
[FORMAT]
|
|
max-line-length = 120
|
|
|
|
[REPORTS]
|
|
msg-template = {path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
|