-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pylintrc
31 lines (30 loc) · 1.88 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
29
30
31
[FORMAT]
max-line-length=120
[MASTER]
ignore-paths=^doublecloud/access/.*$,
^doublecloud/airflow/.*$,
^doublecloud/clickhouse/.*$,
^doublecloud/kafka/.*$,
^doublecloud/logs/.*$,
^doublecloud/network/.*$,
^doublecloud/organizationmanager.*$,
^doublecloud/transfer/.*$,
^doublecloud/v1/.*$,
^doublecloud/visualization/.*$,
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)
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
R0903, # Too few public methods (1/2) (too-few-public-methods)
R0913, # Too many arguments (6/5) (too-many-arguments)
R1710, # Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
W1202, # Use lazy % formatting in logging functions (logging-format-interpolation)
W1203, # Use lazy % or .format() formatting in logging functions (logging-fstring-interpolation)
W1514, # Using open without explicitly specifying an encoding (unspecified-encoding)