forked from rlworkgroup/garage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
98 lines (93 loc) · 2.5 KB
/
setup.cfg
File metadata and controls
98 lines (93 loc) · 2.5 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[flake8]
# W503 enforces the break after the operator, which is acceptable, but it's
# preferred to do it before the operator. Since YAPF enforces the preferred
# style, this rule is ignored.
# D107 enforces writing docstrings for `__init__`, but this is usually duplicative of the class docstring.
# Sphinx supports interpreting the arguments from the class docstring as the arguments for `__init__`.
# We choose that as our convention and disable this rule.
ignore = W503, D107
ignore-names = setUp, tearDown, setUpClass,tearDownClass, setUpModule, tearDownModule
import-order-style = google
application-import-names = tests, sandbox, garage, examples
per-file-ignores =
./src/garage/misc/krylov.py:N802,N803,N806
[pylint]
#[MESSAGES CONTROL]
msg-template = {path}:{symbol}:{line:3d},{column}: {msg}
enable = all
disable =
abstract-method,
arguments-differ,
attribute-defined-outside-init,
bad-continuation,
blacklisted-name,
broad-except,
consider-iterating-dictionary,
consider-merging-isinstance,
consider-using-enumerate,
dangerous-default-value,
deprecated-method,
duplicate-code,
eval-used,
fixme,
global-statement,
invalid-name,
invalid-unary-operand-type,
keyword-arg-before-vararg,
line-too-long,
locally-disabled,
method-hidden,
missing-docstring,
no-else-return,
no-member,
no-name-in-module,
no-self-use,
pointless-string-statement,
protected-access,
raising-format-tuple,
redefined-argument-from-local,
redefined-builtin,
redefined-outer-name,
reimported,
superfluous-parens,
super-init-not-called,
suppressed-message,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-public-methods,
too-many-statements,
undefined-loop-variable,
unidiomatic-typecheck,
unnecessary-lambda,
unnecessary-pass,
unused-argument,
unused-format-string-argument,
unused-variable,
unused-wildcard-import,
useless-super-delegation,
useless-suppression,
wildcard-import,
not-context-manager,
c-extension-no-member,
wrong-import-order
[unittest]
plugins = nose2.plugins.attrib
nose2.plugins.layers
nose2.plugins.testid
[tool:pytest]
addopts = -rfE -s --strict-markers
markers =
nightly
huge
flaky
large
[yapf]
based_on_style = pep8
allow_multiline_lambdas = true
[coverage:run]
branch = true
source = src