Commit graph

12907 commits

Author SHA1 Message Date
U-LAPTOP-4EP3DB2K\alexa
c31146e3f5 Discogs <-> fetchart integration 2023-10-22 20:42:45 +08:00
Benedikt
9055abdba2
Merge pull request #4971 from wisp3rwind/better_pathquery_repr
PathQuery: improve __repr__
2023-10-22 12:03:29 +02:00
wisp3rwind
203dda6ac1 PathQuery: improve __repr__
by including case_sensitive
2023-10-22 11:48:26 +02:00
Benedikt
8733ea9bf1
Merge pull request #4970 from wisp3rwind/fix_ci_config
fix formatting_check CI config
2023-10-22 11:14:55 +02:00
wisp3rwind
0467bf867e fix formatting_check CI config 2023-10-22 10:54:08 +02:00
Benedikt
7035be4d57
Merge pull request #4969 from wisp3rwind/fix_noqa
fixup noqa after black auto-formatting
2023-10-22 10:46:03 +02:00
wisp3rwind
1c6113694d fixup noqa after black auto-formatting 2023-10-22 10:22:09 +02:00
Benedikt
a091f31fc2
Merge pull request #4962 from wisp3rwind/log_parsed_query
library: debug log parsed queries (and convert to f-strings)
2023-10-22 10:15:03 +02:00
wisp3rwind
979e71dd2d library: log parsed query
to help with debugging queries that behave unexpectedly
2023-10-22 10:02:41 +02:00
Max Goltzsche
9dd0c6cea9
docs: add link to ytimport plugin to docs 2023-10-22 05:06:00 +02:00
Serene
2115369028
Merge pull request #4654 from Serene-Arc/auto_formatters 2023-10-22 10:12:26 +10:00
Serene-Arc
508471633a Fix moved noqa 2023-10-22 10:00:22 +10:00
Serene-Arc
a6e5201ff3 Apply formatting tools to all files
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
Serene-Arc
1196d43285 Update configuration 2023-10-22 09:52:46 +10:00
Serene-Arc
5b1844f737 Add black option 2023-10-22 09:50:33 +10:00
Serene-Arc
8a93ce8cce Add instruction to format with tox 2023-10-22 09:50:33 +10:00
Serene-Arc
cad07f370f Update formatting reference 2023-10-22 09:50:33 +10:00
Serene-Arc
226ea5816c Add pre-commit to docs for devs 2023-10-22 09:50:33 +10:00
Serene-Arc
5177b669b2 Add formatting check workflow 2023-10-22 09:50:33 +10:00
Serene-Arc
e8bf993f6a Update python version 2023-10-22 09:50:33 +10:00
Serene-Arc
15d7d2a7f6 Make flake8 black compatible 2023-10-22 09:50:33 +10:00
Serene-Arc
383fd9a612 Add line length specification 2023-10-22 09:50:33 +10:00
Serene-Arc
e5fe9ca1e5 Add tool configurations 2023-10-22 09:50:33 +10:00
Adrian Sampson
389b68534e
Merge pull request #4964 from arsaboo/spotify_retry
Add retry logic for Spotify
2023-10-21 16:28:20 -04:00
Alok Saboo
f79fd64aeb Simplify loop and update changelog entry 2023-10-21 16:16:51 -04:00
Alok Saboo
b9da57481f Merge remote-tracking branch 'upstream/master' into spotify_retry 2023-10-21 16:16:31 -04:00
Adrian Sampson
59131ea4fc
Merge pull request #4961 from beetbox/fix-ci
Some CI fixes
2023-10-21 15:53:42 -04:00
Alok Saboo
ee42f79b25 Update retry logic 2023-10-21 09:43:01 -04:00
Adrian Sampson
cc0979692b
Better mocking for getfullargspec
Seems much more straightforward this way?
2023-10-20 17:36:21 -04:00
Adrian Sampson
a9e1b607c5
Fix inspect mocking
File this under "I have no idea how this *ever* worked"...
2023-10-20 17:07:35 -04:00
Adrian Sampson
9e86162be0
Remove apparently-wrong assert
This assertion was silently a no-op for years, and it apparently fails.
So since we were not even testing it before, it is at least no worse to
just remove it.
2023-10-20 16:12:06 -04:00
Adrian Sampson
0b382853ed
Style fix 2023-10-20 15:56:37 -04:00
Adrian Sampson
945d917320
Remove Python 3.12-dev CI config
Python 3.12 is now released, so this is what "3.x" uses.
2023-10-20 15:53:16 -04:00
Adrian Sampson
cd3fca3d50
has_calls -> assert_has_calls
AFAICT, `mock.has_calls` *never* existed. It only started emitting a
warning recently. And for some reason I only see this crop up on
Windows? Truly mysterious.
2023-10-20 15:52:12 -04:00
Adrian Sampson
5dee3e6ef4
Ignore docs warnings in all test files
These references were out-of-date as of #4951. Not sure why we were
listing these individually in the first place; it's not like we want to
be strict about docstrings in tests...
2023-10-20 15:28:12 -04:00
Adrian Sampson
efc2cf7013
Merge pull request #4943 from arsaboo/spotify_timeout
Gracefully handle Spotify API errors
2023-10-20 14:32:32 -04:00
Serene
0ccd70de94
Merge pull request #4951 from Serene-Arc/test_separation 2023-10-17 21:12:15 +10:00
Serene-Arc
84c0ab6857 Correctly refactor tests 2023-10-17 19:39:03 +10:00
Serene-Arc
5023887d84 Rename directory 2023-10-17 19:22:11 +10:00
Serene-Arc
e8e1c3b972 Sort plugin tests into specific folder 2023-10-16 12:58:51 +10:00
Alok Saboo
66bf0023ea Merge remote-tracking branch 'upstream/master' into spotify_timeout 2023-10-15 09:36:54 -04:00
Serene
91277a1d53
Merge pull request #4845 from Maxr1998/advancedrewrite 2023-10-15 10:53:34 +10:00
Maxr1998
9660dd6130
Fix remaining linter warnings 2023-10-14 15:00:57 +02:00
Maxr1998
7207699b1a
Add advancedrewrite plugin to changelog 2023-10-14 15:00:57 +02:00
Maxr1998
f809e241ef
Fix linter warnings 2023-10-14 15:00:57 +02:00
Maxr1998
0a4c8e4952
Add advanced rewrite plugin
This plugin allows rewriting fields based on a given library query. This can be helpful, for example, when an artist was renamed but you'd like to keep their older releases under their old name, or if you have a single track from a Various Artists release and want to have it included with the original artist.
2023-10-14 15:00:57 +02:00
J0J0 Todos
d8a6fd6a6a
Merge pull request #3721 from davidswarbrick/ui
Importer UI overhaul rebase/update
2023-10-14 13:18:19 +02:00
Serene-Arc
b35f0546d7 Remove old configuration option 2023-10-14 20:23:47 +10:00
J0J0 Todos
05236d75cf Changelog for #3721 "UI overhaul" and new section
"Major new features:" similar to what we had with 1.6.0.
2023-10-14 10:43:12 +02:00
J0J0 Todos
dfcf256d1e Add anchor at "UI options" in docs
to make linking to it possible.
2023-10-14 10:43:12 +02:00