-
Notifications
You must be signed in to change notification settings - Fork 311
/
setup.cfg
84 lines (79 loc) · 2.22 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
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
[flake8]
per-file-ignores =
# NOTE: Please keep this sorted alphabetically, then from
# shallowest-to-deepest application. Deeper rules must repeat also-matching
# shallower rules, due to a quirk in flake8.
# See https://gitlab.com/pycqa/flake8/-/issues/494
#
# errors on valid property docstrings
src/garage/*:D403
# unit tests don't need docstrings
tests/garage/*:D, F401, F811
# interferes with idiomatic `from torch.nn import functional as F`
examples/torch/*:N812
src/garage/torch/*:N812,D403
tests/garage/torch/*:N812,D
# Docstring style checks
docstring-convention = google
extend-ignore =
D107 # We document __init__ in the class docstring
F841 # Unused variables are checked by pylint
# isort config
[isort]
use_parentheses = True
force_sort_within_sections = True
force_alphabetical_sort_within_sections = True
lexicographical = True
multi_line_output = 0
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER
known_first_party = garage
known_tests = tests, garage_benchmarks
known_third_party = akro,
cached_property,
click,
cma,
dateutil,
dm_env,
dm_control,
dowel,
git,
cloudpickle,
garage_benchmarks
glfw,
google,
gym,
matplotlib,
metaworld,
numpy,
psutil,
pybullet_envs,
pybullet_utils,
pyglet,
pytest,
ray,
setproctitle,
scipy,
skimage,
tensorflow,
tensorflow_probability,
torch,
torchvision
[tool:pytest]
addopts = -rfEs --strict-markers
testpaths = tests
markers =
nightly
huge
flaky
large
serial
mujoco
mujoco_long
gpu
[yapf]
based_on_style = pep8
allow_multiline_lambdas = true
blank_line_before_nested_class_or_def = true
[coverage:run]
branch = true
source = src