diff --git a/setup.cfg b/setup.cfg index c7616dab25..268362a152 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,3 +19,14 @@ max-line-length = 120 [flake8] ignore = E731,W504,F401,F841 max-line-length = 120 + +[report] +exclude_lines = + pragma: no cover + def __repr__ + if self.debug: + if settings.DEBUG + raise AssertionError + raise NotImplementedError + if 0: + if __name__ == .__main__.: