This repository was archived by the owner on Sep 12, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (84 loc) · 2.49 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (84 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "fastsprout-data"
version = "1.0.0"
description = "FastSprout - Data library for FastSprout framework."
readme = "README.md"
license = "Apache-2.0"
authors = [{ name = "Illia Bahlai", email = "illia@bahlai.xyz" }]
requires-python = ">=3.12,<3.15"
keywords = [
"fastsprout",
"framework",
"backend",
"async",
"modular-monolith",
"monolith",
"pydantic",
"data",
"repository",
"service",
"unit-of-work",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
]
dependencies = ["fastsprout-core>=1.2.1"]
[project.urls]
Homepage = "https://fastsprout.dev"
Repository = "https://gitlab.3dcra.eu/opensource/fastsprout/fastsprout-data"
Issues = "https://gitlab.3dcra.eu/opensource/fastsprout/fastsprout-data/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/fastsprout_data"]
[tool.hatch.build.targets.wheel.force-include]
"src/fastsprout_data/py.typed" = "fastsprout_data/py.typed"
[dependency-groups]
dev = [
"basedpyright>=1.39.3",
"ipython>=9.4.0",
"pre-commit>=4.2.0",
"pyscn>=1.16.0",
"pylint>=4.0.5",
"ruff>=0.12.1",
"pytest>=9.0.3",
"pytest-cov>=7.1.0",
"pytest-asyncio>=1.4.0",
]
[tool.ruff]
exclude = [".git", "__pycache__", "build", "dist"]
lint.fixable = ["ALL"]
lint.unfixable = []
lint.ignore = ["E501"]
lint.select = ["B", "C9", "E", "F", "I", "N", "RUF", "UP", "T"]
line-length = 80
[tool.ruff.lint.mccabe]
max-complexity = 5
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
[tool.basedpyright]
include = ["src"]
pythonVersion = "3.12"
typeCheckingMode = "standard"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -vvv --cov=src/fastsprout_data --cov-report=term-missing:skip-covered --cov-fail-under=85"
testpaths = ["src/tests"]
asyncio_mode = "auto"
markers = [
"unit: Unit tests - no external dependencies",
"integration: Integration tests - testcontainers or in-memory mocks",
"slow: Tests taking more than 5 seconds",
]
[tool.coverage.run]
omit = ["*/__init__.py"]