Commit graph

680 commits

Author SHA1 Message Date
Hugo 5c0785f7fe
Merge pull request #271 from pylast/pyupgrade
Run pyupgrade
2018-06-08 17:34:43 +03:00
Hugo d65e2bdb3e Run Black 2018-06-08 15:28:49 +03:00
Hugo 018675aedd Run pyupgrade 2018-06-08 15:28:25 +03:00
Hugo cfaef14a94
Merge pull request #270 from pylast/run-black
Format code with Black
2018-06-06 11:55:43 +03:00
Hugo 5a51d52e0a
Add Black badge 2018-06-06 11:37:40 +03:00
Hugo 6503002692 Fix commented-out formatting post-Black 2018-06-06 11:26:00 +03:00
Hugo 9194232ecd Sort tests_require 2018-06-06 11:23:39 +03:00
Hugo ba946170da Add 'max_line_length = 88' for flake8 2018-06-06 10:39:02 +03:00
Hugo da9465c100 Format with Black 18.6b1 2018-06-06 10:19:04 +03:00
Hugo e5a5278d51 Check Black on CI 2018-06-06 10:14:17 +03:00
Hugo f3c9b4150d Use Black's default 88 line length 2018-06-06 10:14:17 +03:00
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