diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 79ef4df528..0000000000 --- a/.coveragerc +++ /dev/null @@ -1,11 +0,0 @@ -[report] -exclude_lines = - pragma: no cover - def __repr__ - if self.debug: - if settings.DEBUG - raise AssertionError - raise NotImplementedError - if 0: - if __name__ == .__main__.: - pt_callbacks.py \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index c7616dab25..c77568ed75 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,3 +19,16 @@ max-line-length = 120 [flake8] ignore = E731,W504,F401,F841 max-line-length = 120 + +[coverage:run] +exclude_lines = + pragma: no cover + def __repr__ + if self.debug: + if settings.DEBUG + raise AssertionError + raise NotImplementedError + if 0: + if __name__ == .__main__.: + pt_callbacks.py +