bfarr / kombine

A kernel-density-based, embarrassingly parallel ensemble sampler
http://pages.uoregon.edu/bfarr/kombine
MIT License
34 stars 25 forks source link

Add python 3.7 / python 3.8 CI testing, along with flake8 formatting tests to CI #21

Closed bruce-edelman closed 4 years ago

bruce-edelman commented 4 years ago

I have been trying to learn how these CI pipelines work both with travis-ci and gitlab-ci. In the process I thought it would be useful to add some flake8 (https://pypi.org/project/flake8/) formatting tests to CI and to test in the newer (3.7, 3.8) python versions as well. (may be worth to not test in 3.4/3.5 now??).

When first running flake there was ALOT of formatting errors/warnings, so I fixed most all at once by formatting the entire repo with black (https://pypi.org/project/black/, which works AMAZINGLY) which is why there are so many file changes for this small impact PR

bruce-edelman commented 4 years ago

Hoping after this, I plan to add some more tests to increase coverage and then after that to try and resolve and hopefully merge https://github.com/bfarr/kombine/pull/13 (unless there was a reason for not doing so up until now outside of time)