forked from Aiven-Open/astacus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
28 lines (25 loc) · 1.1 KB
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[MESSAGES CONTROL]
disable=
duplicate-code, # the checker in 2.9.6 fails with parallelism
invalid-name, # fastapi conventions break this
missing-docstring,
no-member, # broken with pydantic + inheritance
too-few-public-methods, # some pydantic models have 0 and it is fine
too-many-arguments,
too-many-instance-attributes, # give me a break, <= 7
too-many-lines,
too-many-locals, # locals make the code more readable
unused-argument, # annoying when fullfilling some API
use-implicit-booleaness-not-comparison, # leads to unclear code
unspecified-encoding, # irrelevant since the library is linux-specific
wrong-import-order, # we use isort anyway
[FORMAT]
max-line-length=125
[REPORTS]
output-format=text
reports=no
score=no
[TYPECHECK]
ignored-classes=responses
ignored-modules=cassandra
extension-pkg-whitelist=pydantic,cassandra.cluster,cassandra.metadata,cassandra.query