您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
860 B
22 行
860 B
[coverage:run]
|
|
omit = */tests/*
|
|
|
|
[coverage:report]
|
|
# Run "pytest --cov=ml-agents --cov=ml-agents-envs --cov=gym-unity" to see the current coverage percentage.
|
|
# Run the above plus "--cov-report html" to get a nice visualization of what is/isn't covered in html format.
|
|
fail_under = 60
|
|
|
|
|
|
[flake8]
|
|
# black will apply a line length of 88 to code but not docstrings/comments
|
|
# This seems like a decent compromise between readability and redoing all the docstrings.
|
|
max-line-length=120
|
|
|
|
ignore =
|
|
# Black tends to introduce things flake8 doesn't like, such as "line break before binary operator"
|
|
# or whitespace before ':'. Rather than fight with black, just ignore these for now.
|
|
W503, E203,
|
|
|
|
# "may be undefined, or defined from star imports" and related warnings
|
|
# We should stop doing these, but for now, leave them in.
|
|
F405, F403, F401,
|