mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-11-15 17:21:38 +03:00
update python dependencies
This commit is contained in:
parent
2e085ccb87
commit
5f767ea26f
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
|
@ -185,6 +185,7 @@
|
|||
"Акименков",
|
||||
"Астрина",
|
||||
"Атрибутирование",
|
||||
"Атрибутирования",
|
||||
"Атрибутирующая",
|
||||
"Атрибутирующие",
|
||||
"Ашихмин",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
django-stubs==5.2.7
|
||||
mypy==1.18.2
|
||||
pylint==4.0.2
|
||||
coverage==7.11.0
|
||||
|
|
@ -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
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
'use client';
|
||||
|
||||
import { useCallback, useRef, useState } from 'react';
|
||||
import { useRef, useState } from 'react';
|
||||
import { toast } from 'react-toastify';
|
||||
import { type ReactCodeMirrorRef } from '@uiw/react-codemirror';
|
||||
|
||||
|
|
@ -71,11 +71,10 @@ export function EditorRSExpression({
|
|||
|
||||
const { checkConstituenta: checkInternal, isPending } = useCheckConstituenta();
|
||||
|
||||
const resetCallback = useCallback(() => {
|
||||
useResetOnChange([activeCst, toggleReset], () => {
|
||||
setIsModified(false);
|
||||
setParseData(null);
|
||||
}, []);
|
||||
useResetOnChange([activeCst, toggleReset], resetCallback);
|
||||
});
|
||||
|
||||
function checkConstituenta(
|
||||
expression: string,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user