-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
34 lines (33 loc) · 1.64 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
32
33
34
[pylint]
disable=
# ===== 修正しなくてよい項目 =====
fixme, # TODO remains
line-too-long, # [flake8]
too-few-public-methods,
too-many-public-methods,
too-many-arguments,
too-many-locals,
too-many-instance-attributes,
arguments-differ, # Parameters differ from overridden 'define_option' method
useless-super-delegation, # Useless super delegation in method 'clipped'
global-statement, # Using the global statement
suppressed-message, # Suppressed 'unused-import'
locally-disabled, # Locally disabling unused-import
# ===== pylintが誤検出する項目 =====
invalid-name, # Argument name "x" doesn't conform to snake_case naming style
# no-member, # Module 'numpy' has no 'float64' member
# no-name-in-module, # No name 'python' in module 'tensorflow'
# not-callable, # multiprocessing.current_process is not callable
# ===== 修正するか検討すべき項目 =====
missing-docstring,
ungrouped-imports, # isort と conflict
invalid-unary-operand-type, # bad operand type for unary -: NoneType
len-as-condition, # Do not use `len(SEQUENCE)` to determine if a sequence is empty
no-else-return, # Unnecessary "else" after "return"
too-many-branches, # Used when a function or method has too many branches, making it hard to follow
cyclic-import,
similarities, # Similar lines in 2 files
# ===== 修正すべき項目 =====
empty-docstring,
too-many-positional-arguments, # コマンドに対応するメソッドでは引数の数が多くなるため
non-ascii-name, # テストメソッドの名前に日本語を利用するため