forked from rlworkgroup/garage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
39 lines (35 loc) · 873 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
28
29
30
31
32
33
34
35
36
37
38
39
[flake8]
import-order-style = google
application-import-names = tests, garage, examples
per-file-ignores =
# interferes with idiomatic `from torch.nn import functional as F`
./src/garage/torch/*:N812
./tests/garage/torch/*:N812
./examples/torch/*:N812
# errors on valid property docstrings
./src/garage/*:D403
# tests don't need docstrings
./tests/*:D
# Docstring style checks
docstring-convention = google
extend-ignore =
D107 # We document __init__ in the class docstring
F841 # Unused variables are checked by pylint
[tool:pytest]
addopts = -n auto -rfEs --strict-markers
testpaths = tests
markers =
nightly
huge
flaky
large
serial
mujoco
benchmark
[yapf]
based_on_style = pep8
allow_multiline_lambdas = true
blank_line_before_nested_class_or_def = true
[coverage:run]
branch = true
source = src