forked from HumanCompatibleAI/imitation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
58 lines (51 loc) · 1.29 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
[flake8]
extend-ignore=E203
max-line-length=88
per-file-ignores =
# F841 local variable unused [for Sacred config scopes]
src/imitation/scripts/config/*.py:F841
[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
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
[tool:pytest]
filterwarnings =
ignore:Using or importing the ABCs from 'collections':DeprecationWarning:(google|pkg_resources)
ignore:No GPU/TPU found, falling back to CPU:UserWarning:jax
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"')
[coverage:run]
source = imitation
include=
src/*
tests/*
[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
[pytype]
inputs =
src/
tests/
experiments/
setup.py
python_version = 3.7