Skip to content

Commit fec0679

Browse files
authored
add Stickler CI config (#564)
* add .stickler.yml * update pr template * update whatsnew
1 parent f16e53e commit fec0679

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following items must be addressed before the code can be merged. Please don'
1212
- [ ] Fully tested. Added and/or modified tests to ensure correct behavior for all reasonable inputs. Tests (usually) must pass on the TravisCI and Appveyor testing services.
1313
- [ ] Updates entries to `docs/sphinx/source/api.rst` for API changes.
1414
- [ ] Adds description and name entries in the appropriate `docs/sphinx/source/whatsnew` file for all changes.
15-
- [ ] Code quality and style is sufficient. Passes ``git diff upstream/master -u -- "*.py" | flake8 --diff``
15+
- [ ] Code quality and style is sufficient. Passes LGTM and SticklerCI checks.
1616
- [ ] New code is fully documented. Includes sphinx/numpydoc compliant docstrings and comments in the code where necessary.
1717
- [ ] Pull request is nearly complete and ready for detailed review.
1818

.stickler.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
linters:
2+
flake8:
3+
python: 3
4+
max-line-length: 79
5+
files:
6+
ignore:
7+
- 'pvlib/_version.py'

docs/sphinx/source/whatsnew/v0.6.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ Testing
167167
* Make test_forecast.py more robust. (:issue:`293`)
168168
* Improve test_atmosphere.py. (:issue:`158`)
169169
* Add LGTM.com integration. (:issue:`554`)
170+
* Add SticklerCI integration.
170171

171172

172173
Contributors

0 commit comments

Comments
 (0)