Skip to content

Commit

Permalink
skip files in coverage (#3944)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Oct 7, 2020
1 parent 838940e commit c77073f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c77073f

Please sign in to comment.