mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 09:04:33 +01:00
confit: replace with a wrapper around confuse
This re-exports all of the confuse module under `beets.util.confit` and patches in the minimum subset of commits to confit that have not yet been ported to confuse such that the test suite passes. A warning is issued when importing from the deprecated namespace.
This commit is contained in:
parent
4fc9e2686b
commit
e2d7780f97
3 changed files with 56 additions and 1465 deletions
1478
beets/util/confit.py
1478
beets/util/confit.py
File diff suppressed because it is too large
Load diff
1
setup.py
1
setup.py
|
|
@ -91,6 +91,7 @@ setup(
|
|||
'musicbrainzngs>=0.4',
|
||||
'pyyaml',
|
||||
'mediafile>=0.1.0',
|
||||
'confuse>=0.5.0',
|
||||
] + [
|
||||
# Avoid a version of munkres incompatible with Python 3.
|
||||
'munkres~=1.0.0' if sys.version_info < (3, 5, 0) else
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -25,6 +25,10 @@ deps =
|
|||
coverage
|
||||
discogs-client
|
||||
|
||||
[flake8]
|
||||
per-file-ignores =
|
||||
beets/util/confit.py:F821
|
||||
|
||||
[_flake8]
|
||||
deps =
|
||||
flake8
|
||||
|
|
|
|||
Loading…
Reference in a new issue