-
Notifications
You must be signed in to change notification settings - Fork 247
/
setup.cfg
63 lines (55 loc) · 1.59 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
[flake8]
# TODO(adam): eventually add more docstrings and remove the D10{2,3,5} ignore
extend-ignore=E203,D102,D103,D105
docstring-convention=google
max-line-length=88
per-file-ignores =
# F841 local variable unused [for Sacred config scopes]
src/imitation/scripts/config/*.py:F841
../src/imitation/scripts/config/*.py:F841
src/imitation/envs/examples/airl_envs/*.py:D
[darglint]
strictness=short
[isort]
known_first_party=imitation
# isort 5.0 is confused by imitation.utils.sacred
# into thinking that `sacred` is first-party.
known_third_party=sacred, wandb
default_section=THIRDPARTY
skip=.pytype
# Below are needed for black compatibility
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
ensure_newline_before_comments=True
[tool:pytest]
filterwarnings =
ignore:Using or importing the ABCs from 'collections':DeprecationWarning:(google|pkg_resources)
ignore:Parameters to load are deprecated:Warning:gym
ignore:The binary mode of fromstring is deprecated:DeprecationWarning:gym
markers =
expensive: mark a test as expensive (deselect with '-m "not expensive"')
# Terminate the test just before CircleCI's 10-minute timeout so we see the test failure
# instead of a timeout.
timeout = 590
[coverage:run]
source = imitation
include=
src/*
tests/*
omit =
src/imitation/scripts/config/*
[coverage:report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
omit =
setup.py
[coverage:paths]
source =
src/imitation
*venv/lib/python*/site-packages/imitation