This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pylintrc
25 lines (24 loc) · 1.68 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
[FORMAT]
max-line-length=120
[MASTER]
disable=
C0114, # Missing module docstring (missing-module-docstring)
C0115, # Missing class docstring (missing-class-docstring)
C0116, # Missing function or method docstring (missing-function-docstring)
C0103, # Variable name "r" doesn't conform to snake_case naming style (invalid-name)
C0209, # Formatting a regular string which could be a f-string (consider-using-f-string)
C0301, # Line too long (126/120) (line-too-long) — checked with flake8 anyway
C0411, # FIXME with black and remove standard import "from datetime import datetime" should be placed before "import grpc" (wrong-import-order)
E0602, # Undefined variable
E0611, # No name 'Empty' in module 'google.protobuf.empty_pb2' (no-name-in-module) — proto code creates attributes in runtime and linter goes crazy
R0205, # Class 'OperationResult' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
R0801, # Similar lines in 2 files
R0902, # Too many instance attributes (9/7) (too-many-instance-attributes)
R0903, # Too few public methods (1/2) (too-few-public-methods)
R0913, # Too many arguments (6/5) (too-many-arguments)
R0914, # Too many local variables (19/15) (too-many-locals)
R1710, # Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
W0621, # Redefining name 'r' from outer scope (redefined-outer-name)
W0622, # Redefining built-in 'type' (redefined-builtin)
W0640, # Cell variable i defined in loop (cell-var-from-loop)
W1202, # Use lazy % formatting in logging functions (logging-format-interpolation)