Skip to content

Commit

Permalink
frontend-2.0.16 (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
music-assistant-machine authored Dec 6, 2023
1 parent 1da7a55 commit 2f4eeca
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 82 deletions.
113 changes: 32 additions & 81 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"}
]
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 = "[email protected]"

[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]
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ git+https://github.com/music-assistant/[email protected]
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
Expand Down

0 comments on commit 2f4eeca

Please sign in to comment.