frontend-2.0.16 (#954)
authormusic-assistant-machine <141749843+music-assistant-machine@users.noreply.github.com>
Wed, 6 Dec 2023 20:00:27 +0000 (21:00 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Dec 2023 20:00:27 +0000 (21:00 +0100)
pyproject.toml
requirements_all.txt

index c893d5b9b9fe321cdd4393f2b95c55e42fcc6df1..0f12d6d843a5526eaff79f0f52be3cae386a964a 100644 (file)
@@ -1,70 +1,31 @@
 [build-system]
-requires = ["setuptools~=62.3", "wheel~=0.37.1"]
+requires = [ "setuptools~=62.3", "wheel~=0.37.1",]
 build-backend = "setuptools.build_meta"
 
 [project]
 name = "music_assistant"
-# The version is set by GH action on release
 version = "0.0.0"
-license     = {text = "Apache-2.0"}
 description = "Music Assistant"
 readme = "README.md"
 requires-python = ">=3.11"
-authors     = [
-    {name = "The Music Assistant Authors", email = "marcelveldt@users.noreply.github.com"}
-]
-classifiers = [
-  "Environment :: Console",
-  "Programming Language :: Python :: 3.11",
-]
-dependencies = [
-  "aiohttp",
-  "orjson",
-  "mashumaro"
-]
+classifiers = [ "Environment :: Console", "Programming Language :: Python :: 3.11",]
+dependencies = [ "aiohttp", "orjson", "mashumaro",]
+[[project.authors]]
+name = "The Music Assistant Authors"
+email = "marcelveldt@users.noreply.github.com"
+
+[project.license]
+text = "Apache-2.0"
 
 [project.optional-dependencies]
-server = [
-  "faust-cchardet>=2.1.18",
-  "aiodns>=3.0.0",
-  "Brotli>=1.0.9",
-  "aiohttp==3.9.0",
-  "asyncio-throttle==1.0.2",
-  "aiofiles==23.2.1",
-  "aiorun==2023.7.2",
-  "colorlog==6.8.0",
-  "aiosqlite==0.19.0",
-  "python-slugify==8.0.1",
-  "mashumaro==3.11",
-  "memory-tempfile==2.2.3",
-  "music-assistant-frontend==2.0.15",
-  "pillow==10.1.0",
-  "unidecode==1.3.7",
-  "xmltodict==0.13.0",
-  "orjson==3.9.10",
-  "shortuuid==1.0.11",
-  "zeroconf==0.128.0",
-  "cryptography==41.0.6",
-  "ifaddr==0.2.0",
-  "uvloop==0.19.0"
-]
-test = [
-  "black==23.7.0",
-  "codespell==2.2.6",
-  "mypy==1.7.1",
-  "ruff==0.1.6",
-  "pytest==7.4.3",
-  "pytest-asyncio==0.23.2",
-  "pytest-aiohttp==1.0.5",
-  "pytest-cov==4.1.0",
-  "pre-commit==3.5.0"
-]
+server = [ "faust-cchardet>=2.1.18", "aiodns>=3.0.0", "Brotli>=1.0.9", "aiohttp==3.9.0", "asyncio-throttle==1.0.2", "aiofiles==23.2.1", "aiorun==2023.7.2", "colorlog==6.8.0", "aiosqlite==0.19.0", "python-slugify==8.0.1", "mashumaro==3.11", "memory-tempfile==2.2.3", "music-assistant-frontend==2.0.16", "pillow==10.1.0", "unidecode==1.3.7", "xmltodict==0.13.0", "orjson==3.9.10", "shortuuid==1.0.11", "zeroconf==0.128.0", "cryptography==41.0.6", "ifaddr==0.2.0", "uvloop==0.19.0",]
+test = [ "black==23.7.0", "codespell==2.2.6", "mypy==1.7.1", "ruff==0.1.6", "pytest==7.4.3", "pytest-asyncio==0.23.2", "pytest-aiohttp==1.0.5", "pytest-cov==4.1.0", "pre-commit==3.5.0",]
 
 [project.scripts]
 mass = "music_assistant.__main__:main"
 
 [tool.black]
-target-version = ['py311']
+target-version = [ "py311",]
 line-length = 100
 
 [tool.codespell]
@@ -73,7 +34,6 @@ ignore-words-list = "provid,hass,followings"
 [tool.mypy]
 python_version = "3.11"
 check_untyped_defs = true
-#disallow_any_generics = true
 disallow_incomplete_defs = true
 disallow_untyped_calls = false
 disallow_untyped_defs = true
@@ -86,54 +46,45 @@ warn_return_any = true
 warn_unreachable = true
 warn_unused_configs = true
 warn_unused_ignores = true
-
 [[tool.mypy.overrides]]
 ignore_missing_imports = true
-module = [
-  "aiorun",
-]
-
-[tool.pytest.ini_options]
-asyncio_mode = "auto"
-pythonpath = [
-  "."
-]
+module = [ "aiorun",]
 
 [tool.setuptools]
-platforms = ["any"]
-zip-safe  = false
-packages = ["music_assistant"]
+platforms = [ "any",]
+zip-safe = false
+packages = [ "music_assistant",]
 include-package-data = true
 
-[tool.setuptools.package-data]
-music_assistant = ["py.typed"]
-
 [tool.ruff]
 fix = true
 show-fixes = true
-
-# enable later: "C90", "PTH", "TCH", "RET", "ANN"
-select = ["E", "F", "W", "I", "N", "D", "UP", "PL", "Q", "SIM", "TID", "ARG"]
-ignore = ["PLR2004", "N818"]
-extend-exclude = ["app_vars.py"]
-unfixable = ["F841"]
+select = [ "E", "F", "W", "I", "N", "D", "UP", "PL", "Q", "SIM", "TID", "ARG",]
+ignore = [ "PLR2004", "N818",]
+extend-exclude = [ "app_vars.py",]
+unfixable = [ "F841",]
 line-length = 100
 target-version = "py311"
 
+[tool.pytest.ini_options]
+asyncio_mode = "auto"
+pythonpath = [ ".",]
+
+[tool.setuptools.package-data]
+music_assistant = [ "py.typed",]
+
 [tool.ruff.flake8-annotations]
 allow-star-arg-any = true
 suppress-dummy-args = true
 
 [tool.ruff.flake8-builtins]
-builtins-ignorelist = ["id"]
+builtins-ignorelist = [ "id",]
 
 [tool.ruff.pydocstyle]
-# Use Google-style docstrings.
 convention = "pep257"
 
 [tool.ruff.pylint]
-
-max-branches=25
-max-returns=15
-max-args=10
-max-statements=50
+max-branches = 25
+max-returns = 15
+max-args = 10
+max-statements = 50
index 83a4670e527659171fcc1e55865a9c45dbe5e0a5..eb5b48d5c222e6a6b8ec0923956a865cfd352d16 100644 (file)
@@ -18,7 +18,7 @@ git+https://github.com/music-assistant/deezer-python-async@v0.1.2
 ifaddr==0.2.0
 mashumaro==3.11
 memory-tempfile==2.2.3
-music-assistant-frontend==2.0.15
+music-assistant-frontend==2.0.16
 orjson==3.9.10
 pillow==10.1.0
 plexapi==4.15.6