feat(orm): move tables to core

This commit is contained in:
2025-08-20 12:34:56 +05:00
parent 2223624063
commit a1ac519d08
11 changed files with 396 additions and 502 deletions

View File

@@ -1,57 +1,27 @@
[tool.poetry]
[project]
name = "core-library"
version = "0.1.0"
description = "Библиотека абстрактных классов для Python"
authors = ["Your Name <your.email@example.com>"]
description = "Abstract classes library for the Vorkout project"
authors = [
{name = "Ivan Rastorguev", email = "ivan.dev@heado.ru"}
]
maintainers = [
{ name = "Ivan Rastorguev", email = "ivan.dev@heado.ru" },
{ name = "Vladislav Syrochkin", email = "vlad.dev@heado.ru" },
]
repository = "https://gitea.heado.ru/Vorkout/core"
readme = "README.md"
packages = [{include = "core"}]
license = "MIT"
repository = "https://github.com/yourusername/core-library"
keywords = ["abstract", "base", "classes", "framework"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
requires-python = ">=3.9"
dependencies = [
"sqlalchemy (>=2.0.43,<3.0.0)"
]
[tool.poetry.dependencies]
python = "^3.8.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
pytest-cov = "^4.0.0"
black = "^23.0.0"
flake8 = "^6.0.0"
mypy = "^1.0.0"
[tool.poetry]
packages = [
{ include = "core" },
{ include = "orm" }
]
[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py38']
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]