Commit graph

769 commits

Author SHA1 Message Date
Hugo 8bca1d2794 Keep flaky max_runs=3, sometimes build jobs overlap a bit 2018-05-27 20:58:33 +03:00
Hugo c8d349cfb6
Merge pull request #269 from pylast/fix-ci
Fix some tests and code to make tests pass
2018-05-27 20:44:26 +03:00
Hugo 000993c328 Fix test_cacheable_user[_artist_tracks] 2018-05-27 20:14:13 +03:00
Hugo 4aefda5d39 A user without a country can now have '<country>None</country>' 2018-05-27 19:28:59 +03:00
Hugo b3a4ac5388 Fix: 'list' object has no attribute 'track' 2018-05-27 19:23:54 +03:00
Hugo 30d512fd0e Fix pep8-naming 2018-05-20 18:41:27 +03:00
Hugo 2194245e75
Merge pull request #268 from pylast/skip-artist-in-tracks
'Tracks' with only one <name> are artists not tracks, skip them
2018-05-16 12:03:18 +03:00
Hugo eae4b6261c Add '# pragma: no cover' as no easy way to test 2018-05-16 11:45:44 +03:00
Hugo fce5e5d830 'Tracks' with only one <name> are artists not tracks, skip them 2018-05-11 22:07:28 +03:00
Hugo 61e95cc2a4
Merge pull request #267 from pylast/pep8-naming
Add pep8-naming to flake8 and fix issues
2018-05-11 17:08:53 +03:00
Hugo 1d5e965183 Fix pep8-naming 2018-05-11 10:39:16 +03:00
Hugo 7ac0cbb898 Add pep8-naming to flake8 linting 2018-05-11 10:31:24 +03:00
Hugo d35daaaeba Four-space indents 2018-05-11 10:24:28 +03:00
Hugo e3537d5b86 Switch lint to flake8 2018-05-11 10:22:58 +03:00
Hugo fad76315bb
Merge pull request #264 from pylast/save-artist-images
Save artist images and refactor album images
2018-04-18 12:09:08 +03:00
Hugo 8def14de48 Tests no longer flaky, let's keep but reduce in case of temp net errors 2018-04-16 21:57:29 +03:00
Hugo f18fd3f758 TestPyLastWithLastFm and TestPyLastWithLibreFm now inherit from PyLastTestCase 2018-04-16 21:09:52 +03:00
Hugo 70aad87a1b Store track images for future use, refactor album image fetching 2018-04-16 19:02:32 +03:00
Hugo 60dea38d10 Add assert_startswith/endswith helper functions 2018-04-16 18:31:33 +03:00
Hugo fa601b8111 Refactor to store Album/Artist images in info dict 2018-04-16 09:53:31 +03:00
Hugo d1af8d3ebc Store artist images for future use 2018-04-15 23:43:39 +03:00
Hugo 942ced319a Capitalise URI/URL in comments 2018-04-15 23:32:23 +03:00
Hugo 769d70c00b
Merge pull request #263 from pylast/logging
Replace print with logging
2018-04-15 22:10:27 +03:00
Hugo f923cd2c50 Replace print with logging 2018-04-15 21:55:08 +03:00
Hugo cef02d0700
Merge pull request #262 from zinootje/master
Save image URLs to Album on Album.get_cover_image and AlbumSearch.get_next_page
2018-04-15 17:21:36 +03:00
zinootje c3476c1133
Merge pull request #1 from pylast/zinootje-master
Store all images on get_cover_image for future use
2018-04-15 11:46:06 +02:00
Hugo 4083f72ef7 Store all images on get_cover_image for future use 2018-04-14 22:50:42 +03:00
Hugo cf2d9113dd Add test for storing album images on search 2018-04-14 22:38:43 +03:00
Hugo 971e4e3571 flake8 2018-04-14 22:06:57 +03:00
zinootje c2dfe04e17 add images url on get next page 2018-04-14 19:43:47 +02:00
Hugo a144ce407d
Merge pull request #260 from hugovk/deprecation-warnings
Close HTTPSConnection in case of exception
2018-04-11 16:38:47 +03:00
Hugo 887a47c515 Ignore new '.pytest_cache' directory 2018-04-11 11:25:42 +03:00
Hugo 85efc31c10 Close HTTPSConnection in case of exception 2018-04-11 10:38:00 +03:00
hugovk c929b5bd8f Show deprecation warnings for tests 2018-04-11 00:19:24 +03:00
Hugo 1181dc4f35
Link badges to all new PyPI
[CI skip]
2018-04-08 17:23:18 +03:00
Hugo 4cf7e8c727 Start new release cycle 2018-04-08 17:18:10 +03:00
Hugo 2e52023a22 Release 2.2.0 2018-04-08 17:12:36 +03:00
Hugo a607dbe491 flake8 2018-04-08 16:45:36 +03:00
Hugo 8b4866682d
Merge pull request #259 from pylast/use-markdown-on-pypi
Use Markdown on PyPI
2018-04-06 14:11:13 +03:00
Hugo c5684bb87a Use Markdown on PyPI 2018-04-06 13:11:28 +03:00
Hugo 72cdd8b979
Merge pull request #258 from pylast/fix-user.get_weekly_artist_charts
Fix user.get_weekly_artist_charts
2018-04-05 18:28:17 +03:00
Hugo dfb1ce2e2e
pylast 2.2.0 will support Python 3.7
[CI skip]
2018-04-05 18:10:59 +03:00
Hugo 892acd6df9 Artist charts have the artist name in the 'name' field. There is no 'artist' field. 2018-04-05 18:08:21 +03:00
Hugo 06f6cf627d Failing test for user.get_weekly_artist_charts 2018-04-05 18:02:16 +03:00
Hugo 68ebcf9487
Merge pull request #255 from pylast/python3.7
Add Python 3.7
2018-03-27 16:40:13 +03:00
Hugo 8c5799a4d6 Refactor lint to remove duplicate 2018-03-27 15:52:16 +03:00
Hugo f2ec5bc57e Add workaround for build failures on Python 3.7 (https://github.com/yaml/pyyaml/issues/126) 2018-03-27 15:52:16 +03:00
Hugo 20250237b9 Add Python 3.7 2018-03-26 19:41:54 +03:00
Hugo ea87739458
Merge pull request #254 from pylast/improve-test
Test against a certain user
2018-03-18 22:43:43 +02:00
Hugo 0759bf5b0c
Test against a certain user
One we know has more than two top tracks, rather than a new test user who might not.
2018-03-18 09:58:41 +02:00