-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
27 lines (23 loc) · 890 Bytes
/
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
26
27
[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, metaworlds
[pylint]
msg-template = {path}:{msg_id}:{line:3d},{column}: {msg}
disable = all
enable = F0401
[yapf]
based_on_style = pep8
allow_multiline_lambdas = true
[tool:pytest]
addopts = --cov-config=setup.cfg
[coverage:run]
branch = true
source = src/*