From 3609432590b46810af61830069dc3547af1536e4 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Sat, 22 Oct 2016 15:27:13 -0700 Subject: [PATCH 1/2] add landscape config and badge --- .landscape.yml | 8 ++++++++ README.md | 1 + 2 files changed, 9 insertions(+) create mode 100644 .landscape.yml diff --git a/.landscape.yml b/.landscape.yml new file mode 100644 index 0000000000..676618ed16 --- /dev/null +++ b/.landscape.yml @@ -0,0 +1,8 @@ +doc-warnings: yes +test-warnings: yes +strictness: medium +max-line-length: 79 +autodetect: yes +ignore-paths: + - ci + - docs diff --git a/README.md b/README.md index 0f09b047eb..f4ffdd3dcf 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ pvlib-python [![Coverage Status](https://img.shields.io/coveralls/pvlib/pvlib-python.svg)](https://coveralls.io/r/pvlib/pvlib-python) [![Documentation Status](https://readthedocs.org/projects/pvlib-python/badge/?version=latest)](http://pvlib-python.readthedocs.org/en/latest/) [![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.50141.svg)](http://dx.doi.org/10.5281/zenodo.50141) +[![Code Health](https://landscape.io/github/pvlib/pvlib-python/master/landscape.svg?style=flat)](https://landscape.io/github/pvlib/pvlib-python/master) PVLIB Python is a community supported tool that provides a set of From c7453569f8111ab387e8153dc3e62b59805f4601 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Sat, 22 Oct 2016 15:56:00 -0700 Subject: [PATCH 2/2] add disable no new line after doc string --- .landscape.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.landscape.yml b/.landscape.yml index 676618ed16..2a56757274 100644 --- a/.landscape.yml +++ b/.landscape.yml @@ -6,3 +6,6 @@ autodetect: yes ignore-paths: - ci - docs +pep257: + disable: + - D202