forked from pytorch/rl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
46 lines (42 loc) · 1.31 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
[metadata]
license_file = LICENSE
[pep8]
max-line-length = 120
[flake8]
# note: we ignore all 501s (line too long) anyway as they're taken care of by black
max-line-length = 79
ignore = E203, E402, W503, W504, E501
per-file-ignores =
__init__.py: F401, F403, F405
./hubconf.py: F401
test/smoke_test.py: F401
test/smoke_test_deps.py: F401
test_*.py: F841, E731, E266
test/opengl_rendering.py: F401
test/test_modules.py: F841, E731, E266, TOR101
test/test_tensordictmodules.py: F841, E731, E266, TOR101
torchrl/objectives/cql.py: TOR101
torchrl/objectives/deprecated.py: TOR101
torchrl/objectives/iql.py: TOR101
torchrl/objectives/redq.py: TOR101
torchrl/objectives/sac.py: TOR101
torchrl/objectives/td3.py: TOR101
torchrl/objectives/value/advantages.py: TOR101
tutorials/*/**.py: T201
build_tools/setup_helpers/extension.py: T201
examples/*.py: T201
test/opengl_rendering.py: T201
*/**/run-clang-format.py: T201
exclude = venv
extend-select = B901, C401, C408, C409, TOR0, TOR1, TOR2
[pydocstyle]
;select = D417 # Missing argument descriptions in the docstring
;inherit = false
match = .*\.py
;match_dir = ^(?!(.circlecli|test)).*
convention = google
add-ignore = D100, D104, D105, D107, D102
ignore-decorators =
test_*
; test/*.py
; .circleci/*