2020-03-23 19:31:56 +01:00
|
|
|
[MASTER]
|
|
|
|
# Use a conservative default here; 2 should speed up most setups and not hurt
|
|
|
|
# any too bad. Override on command line as appropriate.
|
|
|
|
jobs=2
|
|
|
|
persistent=no
|
|
|
|
extension-pkg-whitelist=ciso8601
|
|
|
|
|
|
|
|
[BASIC]
|
|
|
|
good-names=id,i,j,k
|
|
|
|
|
|
|
|
[MESSAGES CONTROL]
|
|
|
|
# Reasons disabled:
|
|
|
|
# format - handled by black
|
|
|
|
# duplicate-code - unavoidable
|
|
|
|
# too-many-* - are not enforced for the sake of readability
|
|
|
|
# too-few-* - same as too-many-*
|
|
|
|
# inconsistent-return-statements - doesn't handle raise
|
|
|
|
# unnecessary-pass - readability for functions which only contain pass
|
|
|
|
# useless-object-inheritance - should be removed while droping Python 2
|
|
|
|
# wrong-import-order - isort guards this
|
2022-02-16 20:00:29 +01:00
|
|
|
# consider-using-f-string - temporarily to be able to not block Python upgrade
|
2020-03-23 19:31:56 +01:00
|
|
|
disable=
|
|
|
|
format,
|
|
|
|
duplicate-code,
|
|
|
|
inconsistent-return-statements,
|
|
|
|
too-few-public-methods,
|
|
|
|
too-many-ancestors,
|
|
|
|
too-many-arguments,
|
|
|
|
too-many-branches,
|
|
|
|
too-many-instance-attributes,
|
|
|
|
too-many-lines,
|
|
|
|
too-many-locals,
|
|
|
|
too-many-public-methods,
|
|
|
|
too-many-return-statements,
|
|
|
|
too-many-statements,
|
|
|
|
too-many-boolean-expressions,
|
|
|
|
unnecessary-pass,
|
|
|
|
useless-object-inheritance,
|
2022-02-16 20:00:29 +01:00
|
|
|
wrong-import-order,
|
|
|
|
consider-using-f-string
|
2020-03-23 19:31:56 +01:00
|
|
|
|
|
|
|
[FORMAT]
|
|
|
|
expected-line-ending-format=LF
|
|
|
|
|
|
|
|
[EXCEPTIONS]
|
|
|
|
overgeneral-exceptions=PyiCloudException
|