Omit ultralytics/utils/callbacks from coverage (#4345)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d47718c367
commit
c940d29d4f
18 changed files with 63 additions and 36 deletions
|
|
@ -15,6 +15,15 @@ addopts =
|
|||
--doctest-modules
|
||||
--durations=25
|
||||
--color=yes
|
||||
--cov=ultralytics/
|
||||
--cov-report=xml
|
||||
--no-cov-on-fail
|
||||
|
||||
[coverage:run]
|
||||
source = ultralytics/
|
||||
data_file = tests/.coverage
|
||||
omit =
|
||||
ultralytics/utils/callbacks/*
|
||||
|
||||
[flake8]
|
||||
max-line-length = 120
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue