- repo: local
hooks:
- # - id: pylint
- # name: pylint
- # entry: script/run-in-env.sh pylint -j 0 --ignore-missing-annotations=y
- # language: script
- # types: [python]
- # files: ^music_assistant/.+\.py$
+ - id: pylint
+ name: pylint
+ entry: script/run-in-env.sh pylint -j 0
+ language: script
+ types: [python]
+ files: ^hass_client/.+\.py$
+
+ - id: mypy
+ name: mypy
+ entry: script/run-in-env.sh mypy
+ language: script
+ types: [python]
+ files: ^hass_client/.+\.py$
+
+ - repo: local
+ hooks:
- id: gen_requirements_all
name: gen_requirements_all
entry: script/run-in-env.sh python3 -m script.gen_requirements_all
readme = "README.md"
requires-python = ">=3.11"
authors = [
- {name = "The usic Assistant Authors", email = "marcelveldt@users.noreply.github.com"}
+ {name = "The Music Assistant Authors", email = "marcelveldt@users.noreply.github.com"}
]
classifiers = [
"Environment :: Console",
[project.optional-dependencies]
server = [
+ "faust-cchardet>=2.1.18",
+ "aiodns>=3.0.0",
+ "Brotli>=1.0.9",
"aiohttp==3.8.4",
"asyncio-throttle==1.0.2",
"aiofiles==23.1.0",
# WARNING: this file is autogenerated!
+Brotli>=1.0.9
+aiodns>=3.0.0
aiofiles==23.1.0
aiohttp==3.8.4
aiorun==2022.11.1
coloredlogs==15.0.1
cryptography==40.0.2
databases==0.7.0
+faust-cchardet>=2.1.18
git+https://github.com/jozefKruszynski/python-tidal.git@v0.7.1
git+https://github.com/pytube/pytube.git@refs/pull/1501/head
mashumaro==3.7
# TODO: compare versions and only store most recent
final_requirements: dict[str, str] = {}
for req_str in core_reqs + extra_reqs:
+ package_name = req_str
if match := PACKAGE_REGEX.search(req_str):
package_name = match.group(1).lower().replace("_", "-")
elif match := GIT_REPO_REGEX.search(req_str):