Commit graph

914 commits

Author SHA1 Message Date
Hugo van Kemenade 2d570b97ff Update config 2020-09-11 23:44:57 +03:00
Hugo van Kemenade 99e0cc734a Remove W503 from Flake8 ignore list (ignored by default) 2020-08-31 23:03:10 +03:00
mergify[bot] f8a6c20ade
Merge pull request #343 from pylast/run-xfail-only-once
Run xfail tests only once: no point re-running
2020-08-23 15:09:55 +00:00
Hugo 3129d6052d Run xfail tests only once: no point re-running 2020-08-23 12:11:07 +03:00
mergify[bot] 77c17a9c36
Merge pull request #342 from pylast/cover-tests
Include tests in coverage
2020-08-22 09:09:49 +00:00
Hugo 48f4be0bcf Rewrite and add pragmas to improve coverage of non-runnable test code 2020-08-22 11:45:33 +03:00
Hugo 66f5ace917 pre-commit autoupdate 2020-08-22 10:38:42 +03:00
Hugo 574476e44c Include tests in coverage https://nedbatchelder.com/blog/202008/you_should_include_your_tests_in_coverage.html 2020-08-22 10:36:22 +03:00
Koen van Zuijlen 136b7f1cef Made stream=False the default instead of stream=True 2020-07-14 03:42:44 +02:00
kvanzuijlen a769b611f0
Added -e argument for editable installs and added quotes for some shells
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-14 03:17:27 +02:00
Koen van Zuijlen 0aa6de4769 Merge remote-tracking branch 'pylast/master' 2020-07-13 01:16:49 +02:00
Hugo van Kemenade 041eeeba80
Merge pull request #337 from pylast/add-mergify-label
Add automerge label for Mergify
2020-07-12 14:38:30 +03:00
kvanzuijlen 52abbba2bd tox lint changes 2020-07-12 13:32:32 +02:00
kvanzuijlen 15672922a7 General code improvements 2020-07-12 13:32:24 +02:00
kvanzuijlen 99fb7cd7a5 Added a parameter to choose whether to include now playing or not 2020-07-12 13:32:13 +02:00
kvanzuijlen 11d955dd89 Now playing shouldn't count as a recently played track 2020-07-12 13:32:01 +02:00
kvanzuijlen 92004058ba Added option to stream from resources to reduce memory usage 2020-07-12 13:31:48 +02:00
Hugo c2da9a6365 Add automerge label for Mergify 2020-07-12 14:19:22 +03:00
mergify[bot] 705052ae66
Merge pull request #334 from pylast/travis-test-dev
Test Python 3.9-dev and 3.10-dev on Travis CI
2020-06-25 18:28:16 +00:00
Hugo van Kemenade 7f59ced4dc
Merge pull request #335 from pylast/mergify/hugovk/config-update 2020-06-25 21:27:39 +03:00
Hugo van Kemenade 43971c05fd
Also require GHA lint
The checks show up like this:

Lint / build (pull_request)
Lint / build (push)

And the condition needs to match the job name, "build".

https://doc.mergify.io/conditions.html#github-actions

TODO: rename "build"->"lint" in lint.yml
2020-06-25 21:09:46 +03:00
Hugo van Kemenade 7c42504d68 Mergify: configuration update 2020-06-25 21:05:40 +03:00
Hugo 0300b52b4b Test Python 3.9-dev and 3.10-dev on Travis CI 2020-06-25 20:35:19 +03:00
Hugo van Kemenade 1844c65f81
Check importable and version is updated 2020-06-25 19:24:29 +03:00
Hugo van Kemenade 00f7014c51
Add 3.3.0 to changelog 2020-06-25 19:13:46 +03:00
Hugo van Kemenade 6f2bdb5db8
Merge pull request #333 from pylast/isolate-write-tests
Only test write operations on a single Python version to avoid collision failures
2020-06-25 08:27:01 +03:00
Hugo 32461c089d Only test write operations on a single Python version to avoid collision failures 2020-06-24 22:58:25 +03:00
Hugo van Kemenade e7ad4ac5b2
Merge pull request #332 from pylast/deprecate-artist.get_cover_image 2020-06-24 09:47:51 +03:00
Hugo e188e78bdd pre-commit autoupdate, show diff on failure, and force colour on GHA 2020-06-23 11:21:40 +03:00
Hugo 158273e0ae Deprecate Artist.get_cover_image, they're no longer available from Last.fm 2020-06-22 22:20:45 +03:00
Hugo van Kemenade 108e3dda44
Merge pull request #330 from pylast/add-album-and-image-to-get_now_playing 2020-06-22 21:50:22 +03:00
Hugo 6f62857164 Add test for get_album() changes 2020-06-02 16:02:26 +03:00
Hugo d467e2ceb7 If we already have the album, return early 2020-06-01 21:45:11 +03:00
Hugo aae4bb3693 Replace unittest with pytest 2020-06-01 15:50:27 +03:00
Hugo 1160ee1513 GHA: Simplify and update lint.yml 2020-06-01 15:20:36 +03:00
Hugo 8437316d3d pre-commit autoupdate 2020-06-01 14:57:33 +03:00
Hugo 7689a1e95a User.get_now_playing: Add album and cover image to info 2020-06-01 14:52:29 +03:00
Hugo van Kemenade 898a8b5756
Merge pull request #326 from pylast/fix-if-bio-is-empty
Fix artist.get_bio_content() to return None if bio is empty
2020-05-10 10:14:46 +03:00
Hugo 925cae2031 Add test for artist with no bio content 2020-05-08 12:42:36 +03:00
Hugo 26f2173160 pre-commit autoupdate 2020-05-08 12:42:36 +03:00
Hugo a373654500 Return None if bio section is empty 2020-05-08 12:38:02 +03:00
Hugo van Kemenade 2aaa594388
Merge pull request #327 from spiritualized/master 2020-05-08 12:24:12 +03:00
spiritualized 6a28ba076f Improve handling of error responses from the API 2020-05-06 22:43:16 -04:00
Hugo a040f42f95 Use v2 of actions/checkout 2020-03-23 14:29:00 +02:00
Hugo van Kemenade b4092695a0
Add Zenodo DOI badge 2020-03-20 19:05:55 +02:00
Hugo van Kemenade 5391e0d233
Create FUNDING.yml 2020-03-13 17:15:02 +02:00
Hugo fa0189d9bc Update release checklist for Release Drafter 2020-03-05 00:52:13 +02:00
Hugo van Kemenade dfb694f2a6
Add 3.2.1 2020-03-05 00:46:04 +02:00
Hugo van Kemenade 9622fca501
Merge pull request #323 from pylast/fix-deprecation-warning
Fix DeprecationWarning: Please use assertRegex instead
2020-03-04 22:57:54 +02:00
Hugo f806a1f36a Fix DeprecationWarning: Please use assertRegex instead 2020-03-04 22:37:05 +02:00