Files
PORTAL_COD2/src/back/pyproject.toml
T
2026-12-02 10:42:01 +03:00

214 lines
5.8 KiB
TOML
Executable File

[project]
name = "portal"
version = "1.0.0"
description = ""
authors = [
{name = "Your Name",email = "you@example.com"}
]
readme = "README.md"
requires-python = ">=3.13,<4.0"
dependencies = [
"anyio (>=4.8.0,<5.0.0)",
"asgiref (>=3.8.1,<4.0.0)",
"async-timeout (>=5.0.1,<6.0.0)",
"attrs (>=25.1.0,<26.0.0)",
"autobahn (>=24.4.2,<25.0.0)",
"automat (>=24.8.1,<25.0.0)",
"backports-tarfile (>=1.2.0,<2.0.0)",
"build (==1.2.2.post1)",
"cachecontrol (>=0.14.2,<0.15.0)",
"certifi (>=2025.1.31,<2026.0.0)",
"cffi (>=1.17.1,<2.0.0)",
"channels (>=4.2.0,<5.0.0)",
"channels-redis (>=4.2.1,<5.0.0)",
"charset-normalizer (>=3.4.1,<4.0.0)",
"cleo (>=2.1.0,<3.0.0)",
"constantly (>=23.10.4,<24.0.0)",
"crashtest (>=0.4.1,<0.5.0)",
"cryptography (>=44.0.1,<45.0.0)",
"daphne (>=4.1.2,<5.0.0)",
"defusedxml (>=0.7.1,<0.8.0)",
"distlib (>=0.3.9,<0.4.0)",
"django (>=5.1.6,<6.0.0)",
"django-ckeditor (>=6.7.2,<7.0.0)",
"django-ckeditor-5 (>=0.2.17,<0.3.0)",
"django-cors-headers (>=4.7.0,<5.0.0)",
"django-filter (>=25.1,<26.0)",
"django-grappelli (>=4.0.1,<5.0.0)",
"django-js-asset (>=3.1.0,<4.0.0)",
"django-templated-mail (>=1.1.1,<2.0.0)",
"djangorestframework (>=3.15.2,<4.0.0)",
"djangorestframework-simplejwt (>=5.5.0,<6.0.0)",
"djoser (>=2.3.1,<3.0.0)",
"drf-yasg (>=1.21.9,<2.0.0)",
"dulwich (>=0.22.7,<0.23.0)",
"et-xmlfile (>=2.0.0,<3.0.0)",
"exceptiongroup (>=1.2.2,<2.0.0)",
"fastjsonschema (>=2.21.1,<3.0.0)",
"filelock (>=3.17.0,<4.0.0)",
"findpython (>=0.6.2,<0.7.0)",
"h11 (>=0.14.0,<0.15.0)",
"httpcore (>=1.0.7,<2.0.0)",
"httpx (>=0.28.1,<0.29.0)",
"hyperlink (>=21.0.0,<22.0.0)",
"idna (>=3.10,<4.0)",
"importlib-metadata (>=8.6.1,<9.0.0)",
"incremental (>=24.7.2,<25.0.0)",
"inflection (>=0.5.1,<0.6.0)",
"installer (>=0.7.0,<0.8.0)",
"jaraco-classes (>=3.4.0,<4.0.0)",
"jaraco-context (>=6.0.1,<7.0.0)",
"jaraco-functools (>=4.1.0,<5.0.0)",
"jeepney (>=0.9.0,<0.10.0)",
"keyring (>=25.6.0,<26.0.0)",
"markdown (>=3.7,<4.0)",
"more-itertools (>=10.6.0,<11.0.0)",
"msgpack (>=1.1.0,<2.0.0)",
"mysqlclient (>=2.2.7,<3.0.0)",
"numpy (>=2.2.3,<3.0.0)",
"oauthlib (>=3.2.2,<4.0.0)",
"openpyxl (>=3.1.5,<4.0.0)",
"packaging (>=24.2,<25.0)",
"pandas (>=2.2.3,<3.0.0)",
"pbs-installer (>=2025.2.12,<2026.0.0)",
"pillow (>=11.1.0,<12.0.0)",
"pkginfo (>=1.12.1.2,<2.0.0.0)",
"platformdirs (>=4.3.6,<5.0.0)",
"pyasn1 (>=0.6.1,<0.7.0)",
"pyasn1-modules (>=0.4.1,<0.5.0)",
"pycparser (>=2.22,<3.0)",
"pyopenssl (>=25.0.0,<26.0.0)",
"pyproject-hooks (>=1.2.0,<2.0.0)",
"python-dateutil (>=2.9.0.post0,<3.0.0)",
"python3-openid (>=3.2.0,<4.0.0)",
"pytz (>=2025.1,<2026.0)",
"pyyaml (>=6.0.2,<7.0.0)",
"rapidfuzz (>=3.12.1,<4.0.0)",
"redis (>=5.2.1,<6.0.0)",
"requests (>=2.32.3,<3.0.0)",
"requests-oauthlib (>=2.0.0,<3.0.0)",
"requests-toolbelt (>=1.0.0,<2.0.0)",
"secretstorage (>=3.3.3,<4.0.0)",
"service-identity (>=24.2.0,<25.0.0)",
"shellingham (>=1.5.4,<2.0.0)",
"six (>=1.17.0,<2.0.0)",
"sniffio (>=1.3.1,<2.0.0)",
"social-auth-app-django (>=5.4.3,<6.0.0)",
"social-auth-core (>=4.5.6,<5.0.0)",
"sqlparse (>=0.5.3,<0.6.0)",
"tomli (>=2.2.1,<3.0.0)",
"tomlkit (>=0.13.2,<0.14.0)",
"trove-classifiers (>=2025.2.18.16,<2026.0.0.0)",
"twisted (>=24.11.0,<25.0.0)",
"txaio (>=23.1.1,<24.0.0)",
"typing-extensions (>=4.12.2,<5.0.0)",
"tzdata (>=2025.1,<2026.0)",
"uritemplate (>=4.1.1,<5.0.0)",
"urllib3 (>=2.3.0,<3.0.0)",
"virtualenv (>=20.29.2,<21.0.0)",
"xlsxwriter (>=3.2.2,<4.0.0)",
"zipp (>=3.21.0,<4.0.0)",
"zope-interface (>=7.2,<8.0)",
"zstandard (>=0.23.0,<0.24.0)",
"django-nested-admin (>=4.1.1,<5.0.0)"
]
[tool.poetry]
package-mode = false
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pylint = "^3.3.4"
pylint-django = "^2.6.1"
mypy = "^2.3.1"
bandit = "^1.9.4"
django-stubs = "^6.1.1"
djangorestframework-stubs = "^3.18.1"
ruff = "^0.16.9"
pip-audit = "^2.10.1"
pytest = "^9.1.1"
pytest-django = "^4.14.0"
pytest-cov = "^7.1.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 130
extend-exclude = ["**/migrations/*.py"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM"]
[tool.mypy]
plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"]
exclude = ['/migrations/']
explicit_package_bases = true
ignore_missing_imports = true
disallow_untyped_defs = false
disallow_untyped_calls = false
disallow_any_generics = false
warn_return_any = false
warn_unused_ignores = false
check_untyped_defs = true
no_implicit_optional = true
disable_error_code = [
"misc",
"attr-defined",
]
[tool.django-stubs]
django_settings_module = "portal.settings"
strict_settings = true
strict_model_abstract_attrs = true
[tool.bandit]
exclude_dirs = ["tests", "migrations",".venv","venv"]
skips = ["B101"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "portal.settings"
python_files = ["test_*.py", "*_test.py", "tests.py"]
addopts = "-ra --strict-markers"
[tool.coverage.run]
source = ["."]
branch = true
omit = [
"*/migrations/*",
"*/tests.py",
"*/test_*.py",
"*/__init__.py",
"*/apps.py",
"*/admin.py",
"manage.py",
"portal/settings*",
"portal/asgi.py",
"portal/wsgi.py",
"*/docs/*",
"*/.pytest_cache/*",
"*/.mypy_cache/*",
"*/.ruff_cache/*",
"*/static/*",
"*/media/*",
"*/templates/*",
]
[tool.coverage.report]
skip_empty = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]