Remove __name__==__main__ from test coverage
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/43685509 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/43685509 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/43685509 Branch: refs/heads/master Commit: 436855092b966a29305b64fd1859b9a0c275f73e Parents: fd17855 Author: Ibrahim <[email protected]> Authored: Mon May 30 13:17:21 2016 +0530 Committer: Ibrahim <[email protected]> Committed: Mon Jun 13 22:54:27 2016 +0530 ---------------------------------------------------------------------- .coveragerc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/43685509/.coveragerc ---------------------------------------------------------------------- diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..4e4a627 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +[report] +exclude_lines = + if __name__ == .__main__.:
