您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
20 行
792 B
20 行
792 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,
|
|
# flake-tidy-import adds this warning, which we don't really care about for now
|
|
I200
|