bump dependencies

This commit is contained in:
Simon 2026-04-11 12:27:43 +07:00
parent da6f46996c
commit 3dbf77c831
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
6 changed files with 21 additions and 28 deletions

View File

@ -4,14 +4,14 @@ repos:
hooks: hooks:
- id: end-of-file-fixer - id: end-of-file-fixer
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 25.9.0 rev: 26.3.1
hooks: hooks:
- id: black - id: black
alias: python alias: python
files: ^backend/ files: ^backend/
args: ["--line-length=79"] args: ["--line-length=79"]
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 6.0.1 rev: 8.0.1
hooks: hooks:
- id: isort - id: isort
name: isort (python) name: isort (python)
@ -26,12 +26,12 @@ repos:
files: ^backend/ files: ^backend/
args: ["--max-complexity=10", "--max-line-length=79"] args: ["--max-complexity=10", "--max-line-length=79"]
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.4.1 rev: v2.4.2
hooks: hooks:
- id: codespell - id: codespell
exclude: ^frontend/package-lock.json exclude: ^frontend/package-lock.json
- repo: https://github.com/pre-commit/mirrors-eslint - repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.36.0 rev: v10.2.0
hooks: hooks:
- id: eslint - id: eslint
name: eslint name: eslint

View File

@ -93,8 +93,7 @@ class EnvironmentSettings:
def print_generic(self): def print_generic(self):
"""print generic env vars""" """print generic env vars"""
print( print(f"""
f"""
HOST_UID: {self.HOST_UID} HOST_UID: {self.HOST_UID}
HOST_GID: {self.HOST_GID} HOST_GID: {self.HOST_GID}
TZ: {self.TZ} TZ: {self.TZ}
@ -102,36 +101,29 @@ class EnvironmentSettings:
TA_PORT: {self.TA_PORT} TA_PORT: {self.TA_PORT}
TA_BACKEND_PORT: {self.TA_BACKEND_PORT} TA_BACKEND_PORT: {self.TA_BACKEND_PORT}
TA_USERNAME: {self.TA_USERNAME} TA_USERNAME: {self.TA_USERNAME}
TA_PASSWORD: *****""" TA_PASSWORD: *****""")
)
def print_paths(self): def print_paths(self):
"""debug paths set""" """debug paths set"""
print( print(f"""
f"""
MEDIA_DIR: {self.MEDIA_DIR} MEDIA_DIR: {self.MEDIA_DIR}
APP_DIR: {self.APP_DIR} APP_DIR: {self.APP_DIR}
CACHE_DIR: {self.CACHE_DIR}""" CACHE_DIR: {self.CACHE_DIR}""")
)
def print_redis_conf(self): def print_redis_conf(self):
"""debug redis conf paths""" """debug redis conf paths"""
print( print(f"""
f"""
REDIS_CON: {self.REDIS_CON} REDIS_CON: {self.REDIS_CON}
REDIS_NAME_SPACE: {self.REDIS_NAME_SPACE}""" REDIS_NAME_SPACE: {self.REDIS_NAME_SPACE}""")
)
def print_es_paths(self): def print_es_paths(self):
"""debug es conf""" """debug es conf"""
print( print(f"""
f"""
ES_URL: {self.ES_URL} ES_URL: {self.ES_URL}
ES_PASS: ***** ES_PASS: *****
ES_USER: {self.ES_USER} ES_USER: {self.ES_USER}
ES_SNAPSHOT_DIR: {self.ES_SNAPSHOT_DIR} ES_SNAPSHOT_DIR: {self.ES_SNAPSHOT_DIR}
ES_DISABLE_VERIFY_SSL: {self.ES_DISABLE_VERIFY_SSL}""" ES_DISABLE_VERIFY_SSL: {self.ES_DISABLE_VERIFY_SSL}""")
)
def print_all(self): def print_all(self):
"""print all""" """print all"""

View File

@ -1,5 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
"""Django's command-line utility for administrative tasks.""" """Django's command-line utility for administrative tasks."""
import os import os
import sys import sys

View File

@ -1,15 +1,15 @@
apprise==1.9.9 apprise==1.9.9
celery==5.6.3 celery==5.6.3
deepdiff==8.6.2 deepdiff==9.0.0
django-auth-ldap==5.3.0 django-auth-ldap==5.3.0
django-celery-beat==2.9.0 django-celery-beat==2.9.0
django-cors-headers==4.9.0 django-cors-headers==4.9.0
Django==6.0.3 Django==6.0.4
djangorestframework==3.17.1 djangorestframework==3.17.1
drf-spectacular==0.28.0 # rc:ignore drf-spectacular==0.28.0 # rc:ignore
Pillow==12.1.1 Pillow==12.2.0
redis==7.4.0 redis==7.4.0
requests==2.33.0 requests==2.33.1
ryd-client==0.0.6 ryd-client==0.0.6
uvicorn==0.42.0 uvicorn==0.44.0
yt-dlp[default]==2026.3.17 yt-dlp[default]==2026.3.17

View File

@ -31,7 +31,7 @@
"prettier": "3.8.1", "prettier": "3.8.1",
"typescript": "^6.0.2", "typescript": "^6.0.2",
"typescript-eslint": "^8.58.0", "typescript-eslint": "^8.58.0",
"vite": "^8.0.3", "vite": "^8.0.5",
"vite-plugin-checker": "^0.12.0" "vite-plugin-checker": "^0.12.0"
} }
} }

View File

@ -5,7 +5,7 @@ pre-commit==4.5.1
pylint-django==2.7.0 pylint-django==2.7.0
pylint==4.0.5 pylint==4.0.5
pytest-django==4.12.0 pytest-django==4.12.0
pytest==9.0.2 pytest==9.0.3
python-dotenv==1.2.2 python-dotenv==1.2.2
requirementscheck==0.1.0 requirementscheck==0.1.0
types-requests==2.33.0.20260327 types-requests==2.33.0.20260408