prune codecov exceptions (#1107)

This commit is contained in:
Jirka Borovec 2020-03-16 19:40:34 +01:00 committed by GitHub
parent 384e124490
commit c89e482f85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 27 deletions

View File

@ -18,36 +18,10 @@ ignore = E731,W504
max-line-length = 120 max-line-length = 120
[coverage:report] [coverage:report]
# TODO: this looks suspicion, it should be reviewed
exclude_lines = exclude_lines =
pragma: no cover pragma: no cover
def __repr__ def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
except Exception as e
print(e)
print(traceback.print_exc())
return *
raise Exception
raise *
except *
warnings warnings
print
raise RuntimeError
break
pass
os.makedirs
# TODO: to be reviewed, this should not be skipped
omit =
pytorch_lightning/callbacks/pt_callbacks.py
tests/test_models.py
pytorch_lightning/testing_models/lm_test_module.py
pytorch_lightning/utilities/arg_parse.py
pl_examples/templates
[flake8] [flake8]
# TODO: this should be 88 or 100 according PEP8 # TODO: this should be 88 or 100 according PEP8
@ -58,7 +32,11 @@ doctests = True
verbose = 2 verbose = 2
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes # https://pep8.readthedocs.io/en/latest/intro.html#error-codes
format = pylint format = pylint
ignore = E731,W504,F401,F841 ignore =
E731
W504
F401
F841
# setup.cfg or tox.ini # setup.cfg or tox.ini
[check-manifest] [check-manifest]
@ -67,6 +45,7 @@ ignore =
tox.ini tox.ini
.github .github
.github/* .github/*
.circleci
[metadata] [metadata]
license_file = LICENSE license_file = LICENSE