skip files in coverage (#3944)

This commit is contained in:
Jirka Borovec 2020-10-07 18:37:01 +02:00 committed by GitHub
parent 838940eee7
commit c77073f040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

View File

@ -65,12 +65,3 @@ comment:
require_changes: false
behavior: default # update if exists else create new
after_n_builds: 23
# TODO: figure out how to get codecov to pick up the test results on these backends
# The actual coverage for each is 90%+
ignore: # see: https://docs.codecov.io/docs/ignoring-paths
- "pytorch_lightning/accelerators/ddp_*.py"
- "pytorch_lightning/accelerators/ddp2_*.py"
- "pytorch_lightning/accelerators/dp_*.py"
- "pytorch_lightning/accelerators/gpu_*.py"
- "pytorch_lightning/accelerators/tpu_*.py"

View File

@ -36,6 +36,13 @@ exclude_lines =
warnings
pass
rank_zero_warn
# TODO: figure out how to get codecov to pick up the test results on these backends
# The actual coverage for each is 90%+
omit =
pytorch_lightning/accelerators/ddp_*.py
pytorch_lightning/accelerators/ddp2_*.py
pytorch_lightning/accelerators/dp_*.py
pytorch_lightning/accelerators/tpu_*.py
[flake8]
# TODO: this should be 88 or 100 according PEP8