From 531bd0e3d298abf0b5776bc430ca28e6ac29e696 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Thu, 23 Oct 2025 17:26:39 +0300 Subject: [PATCH] update python dependencies --- .vscode/settings.json | 1 + rsconcept/backend/.pylintrc | 8 ++------ rsconcept/backend/apps/oss/models/Layout.py | 2 +- rsconcept/backend/requirements-dev-lock.txt | 22 ++++++++++----------- rsconcept/backend/requirements.txt | 12 +++++------ 5 files changed, 21 insertions(+), 24 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 288fdbeb..f189b249 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -185,6 +185,7 @@ "Акименков", "Астрина", "Атрибутирование", + "Атрибутирования", "Атрибутирующая", "Атрибутирующие", "Ашихмин", diff --git a/rsconcept/backend/.pylintrc b/rsconcept/backend/.pylintrc index 01740861..f49ef33e 100644 --- a/rsconcept/backend/.pylintrc +++ b/rsconcept/backend/.pylintrc @@ -72,7 +72,7 @@ ignored-modules= # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the # number of processors available to use, and will cap the count on Windows to # avoid hangs. -jobs=1 +jobs=0 # Control the amount of potential inferred values when inferring a single # object. This can help the performance when dealing with large functions or @@ -88,7 +88,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.10 # Discover python modules and packages in the file system subtree. recursive=no @@ -99,10 +99,6 @@ recursive=no # source root. source-roots= -# When enabled, pylint would attempt to guess common misconfiguration and emit -# user-friendly hints instead of false-positive error messages. -suggestion-mode=yes - # Allow loading of arbitrary C extensions. Extensions are imported into the # active Python interpreter and may run arbitrary code. unsafe-load-any-extension=no diff --git a/rsconcept/backend/apps/oss/models/Layout.py b/rsconcept/backend/apps/oss/models/Layout.py index c7628f12..ea7a4173 100644 --- a/rsconcept/backend/apps/oss/models/Layout.py +++ b/rsconcept/backend/apps/oss/models/Layout.py @@ -25,7 +25,7 @@ class Layout(Model): return f'Схема расположения {self.oss.alias}' @staticmethod - def update_data(itemID: int, data: dict) -> None: + def update_data(itemID: int, data: list) -> None: ''' Update layout data. ''' layout = Layout.objects.get(oss_id=itemID) layout.data = data diff --git a/rsconcept/backend/requirements-dev-lock.txt b/rsconcept/backend/requirements-dev-lock.txt index 45d491c8..f2a0ff9e 100644 --- a/rsconcept/backend/requirements-dev-lock.txt +++ b/rsconcept/backend/requirements-dev-lock.txt @@ -1,21 +1,21 @@ tzdata==2025.2 -Django==5.2.4 -djangorestframework==3.16.0 -django-cors-headers==4.7.0 -django-filter==25.1 +Django==5.2.7 +djangorestframework==3.16.1 +django-cors-headers==4.9.0 +django-filter==25.2 drf-spectacular==0.28.0 -drf-spectacular-sidecar==2025.7.1 +drf-spectacular-sidecar==2025.10.1 coreapi==2.3.3 django-rest-passwordreset==1.5.0 cctext==0.1.4 pyconcept==0.1.12 -psycopg2-binary==2.9.10 +psycopg2-binary==2.9.11 gunicorn==23.0.0 -djangorestframework-stubs==3.16.0 +djangorestframework-stubs==3.16.5 django-extensions==4.1 -django-stubs==5.2.1 -mypy==1.15.0 -pylint==3.3.7 -coverage==7.9.2 \ No newline at end of file +django-stubs==5.2.7 +mypy==1.18.2 +pylint==4.0.2 +coverage==7.11.0 \ No newline at end of file diff --git a/rsconcept/backend/requirements.txt b/rsconcept/backend/requirements.txt index 13ec82bf..b6cf399d 100644 --- a/rsconcept/backend/requirements.txt +++ b/rsconcept/backend/requirements.txt @@ -1,14 +1,14 @@ tzdata==2025.2 -Django==5.2.4 -djangorestframework==3.16.0 -django-cors-headers==4.7.0 -django-filter==25.1 +Django==5.2.7 +djangorestframework==3.16.1 +django-cors-headers==4.9.0 +django-filter==25.2 drf-spectacular==0.28.0 -drf-spectacular-sidecar==2025.7.1 +drf-spectacular-sidecar==2025.10.1 coreapi==2.3.3 django-rest-passwordreset==1.5.0 cctext==0.1.4 pyconcept==0.1.12 -psycopg2-binary==2.9.10 +psycopg2-binary==2.9.11 gunicorn==23.0.0 \ No newline at end of file