Commit graph

1043 commits

Author SHA1 Message Date
Hugo 905d06ef5d Upgrade Python syntax with pyupgrade 2018-07-27 15:35:38 +03:00
Hugo 0b725831d2
Merge pull request #275 from pylast/rm-pyyaml-workaround
Revert PyYAML workaround for Python 3.7
2018-06-27 16:50:05 +03:00
Hugo 7665fd09d7 Revert "Add workaround for build failures on Python 3.7 (https://github.com/yaml/pyyaml/issues/126)"
This reverts commit f2ec5bc57e.
2018-06-27 16:30:29 +03:00
Hugo 691e0a9ab1
pylast >= 3.0.0 will likely only support Python 3.4+
See https://github.com/pylast/pylast/issues/265.
2018-06-23 22:57:08 +03:00
Hugo 1997154a81
Merge pull request #272 from pylast/single-source-package-version
Single-source the package version
2018-06-09 10:17:36 +03:00
Hugo 907891bcb1 Include version file in manifest 2018-06-09 09:50:08 +03:00
Hugo ca11de0a3a Black fix 2018-06-09 09:44:59 +03:00
Hugo d16423c343 CI: Also show Black diff on failure 2018-06-09 09:44:39 +03:00
Hugo efd123004a Update release docs 2018-06-09 09:43:41 +03:00
Hugo c6b080d578 Single-source the package version 2018-06-09 09:40:15 +03:00
Hugo 35b97356d1 Single-source the package version 2018-06-08 17:53:13 +03:00
Hugo 5d085ba9dc Start new release cycle 2018-06-08 17:41:40 +03:00
Hugo 4c89c7bf5a Release 2.3.0 2018-06-08 17:37:26 +03:00
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