diff --git a/.codecov.yml b/.codecov.yml index fc024ca597..cc6a5e6a2b 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -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" diff --git a/setup.cfg b/setup.cfg index 8d8bafefa5..ad6d2ef9ba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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