-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (80 loc) · 1.87 KB
/
pyproject.toml
File metadata and controls
92 lines (80 loc) · 1.87 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
[project]
name = "tp-auth-serverside"
version = "0.1.5"
description = "A server side authentication utility which stores session tokens in memory db."
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"cryptography>=45.0.5",
"fastapi>=0.116.1",
"grpc-interceptor>=0.15.4",
"grpcio>=1.75.0",
"grpcio-tools>=1.75.0",
"httpx>=0.28.1",
"jetpack>=0.2.0",
"mem-db-utils>=0.2.0",
"orjson>=3.11.1",
"pydantic>=2.11.7",
"pydantic-settings>=2.10.1",
"pyjwt>=2.10.1",
"python-dotenv>=1.1.1",
"shortuuid>=1.0.13",
]
[build-system]
requires = ["uv_build>=0.8.0,<0.9"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
]
[[tool.uv.index]]
name = "prismatica-pypi"
url = "https://readUser:hh(iBaf71$icV63@pypi.prismatica.in/simple"
[tool.ruff]
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
lint.ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"E402",
"B904",
"B905",
"B009",
"C417"
]
line-length = 120
target-version = "py312"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.mypy]
warn_unused_ignores = true
warn_redundant_casts = true
show_error_codes = true
disallow_untyped_defs = true
ignore_missing_imports = true
follow_imports = "silent"
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
check_untyped_defs = true
[tool.coverage.report]
precision = 2
fail_under = 81.75
show_missing = true
skip_covered = true
exclude_lines = [
"pragma: no cover",
"pragma: nocover",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
"raise NotImplementedError",
]