-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
25 lines (25 loc) · 1.11 KB
/
setup.cfg
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
[pylint]
# pylint needs to be run with --rcfile=setup.cfg to detect this file!
# C0330: Wrong hanging indentation before block (add 4 spaces)
# C0411: Wrong import order (we use isort instead)
# R0801: Similar lines in N files
# R0902: Too many instance attributes
# R0903: Too few public methods (min 2)
# R0904: Too many public methods (max 20)
# R0912: Too many branches
# R0913: Too many arguments
# R0914: Too many local variables
# R0915: Too many statements
# R1702: Too many nested blocks
# W0621: Redefining name '$' from outer scope
# W1202: Use % formatting in logging functions and pass the % parameters as argument
disable = C0330, C0411, R0801, R0902, R0903, R0904, R0912, R0913, R0914, R0915, R1702, W0621, W1202, W1503
max-line-length = 150
argument-rgx = [A-Z]|[a-z_][a-z0-9_]{1,30}$
attr-rgx = [A-Z]|[a-z_][a-z0-9_]{1,30}$
variable-rgx = [A-Z]|[a-z_][a-z0-9_]{1,30}$
extension-pkg-whitelist = cv2,numpy,torch,ignite, scipy
output-format = colorized
# Generated-members more information on: https://github.com/pytorch/pytorch/issues/701
generated-members=numpy.*,torch.*,ignite.*,
ignored-modules=torch,torchvision,ignite