2019-04-03 17:17:55 +00:00
|
|
|
[tool:pytest]
|
|
|
|
norecursedirs =
|
|
|
|
.git
|
|
|
|
dist
|
|
|
|
build
|
|
|
|
python_files =
|
|
|
|
test_*.py
|
|
|
|
doctest_plus = disabled
|
|
|
|
addopts = --strict
|
|
|
|
markers =
|
|
|
|
slow
|
|
|
|
remote_data
|
|
|
|
filterwarnings
|
|
|
|
|
|
|
|
[pycodestyle]
|
|
|
|
ignore = E731,W504
|
|
|
|
max-line-length = 120
|
|
|
|
|
2019-07-24 20:04:36 +00:00
|
|
|
[coverage:report]
|
2019-07-24 19:57:18 +00:00
|
|
|
exclude_lines =
|
|
|
|
pragma: no cover
|
|
|
|
def __repr__
|
|
|
|
if self.debug:
|
|
|
|
if settings.DEBUG
|
|
|
|
raise AssertionError
|
|
|
|
raise NotImplementedError
|
|
|
|
if 0:
|
|
|
|
if __name__ == .__main__.:
|
2019-07-24 21:30:16 +00:00
|
|
|
except Exception as e
|
2019-07-24 21:34:08 +00:00
|
|
|
print(e)
|
|
|
|
print(traceback.print_exc())
|
|
|
|
return *
|
2019-07-24 22:30:08 +00:00
|
|
|
raise Exception
|
2019-07-24 22:30:35 +00:00
|
|
|
warnings
|
2019-07-24 22:30:47 +00:00
|
|
|
print
|
2019-07-24 20:04:18 +00:00
|
|
|
|
2019-07-24 20:08:35 +00:00
|
|
|
omit =
|
2019-07-24 20:09:24 +00:00
|
|
|
pytorch_lightning/callbacks/pt_callbacks.py
|
2019-07-24 21:27:33 +00:00
|
|
|
tests/test_models.py
|
2019-07-24 21:28:23 +00:00
|
|
|
pytorch_lightning/testing_models/lm_test_module.py
|
2019-07-24 20:08:35 +00:00
|
|
|
|
2019-07-24 20:04:18 +00:00
|
|
|
[flake8]
|
|
|
|
ignore = E731,W504,F401,F841
|
|
|
|
max-line-length = 120
|