-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
77 lines (69 loc) · 1.87 KB
/
pyproject.toml
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
[project]
name = "flare-ai-consensus"
version = "0.1.0"
description = "Flare AI Kit template for single-node multi-model Consensus Learning"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"cryptography>=44.0.1",
"fastapi>=0.115.8",
"httpx>=0.28.1",
"matplotlib>=3.10.0",
"numpy>=2.2.2",
"openai>=1.61.0",
"pandas>=2.2.3",
"pydantic-settings>=2.7.1",
"pyjwt>=2.10.1",
"pyopenssl>=25.0.0",
"requests>=2.32.3",
"structlog>=25.1.0",
"uvicorn>=0.34.0",
]
[dependency-groups]
dev = [
"pyright>=1.1.393",
"ruff>=0.9.4",
]
[project.scripts]
start-backend = "flare_ai_consensus.main:start"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D203", "D212", "COM812", "D", "S105", "ANN401", "ISC003"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = ["S101", "ARG"]
[tool.ruff.format]
docstring-code-format = true
[tool.pyright]
pythonVersion = "3.12"
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
deprecateTypingAliases = true
disableBytesTypePromotions = true
reportUnusedClass = true
reportUnusedFunction = true
reportUntypedFunctionDecorator = true
reportUntypedClassDecorator = true
reportPrivateUsage = true
reportTypeCommentUsage = true
reportConstantRedefinition = true
reportDeprecated = true
reportInconsistentConstructor = true
reportUninitializedInstanceVariable = true
reportMissingParameterType = true
reportCallInDefaultInitializer = true
reportUnnecessaryIsInstance = true
reportUnnecessaryCast = true
reportUnnecessaryComparison = true
reportUnnecessaryContains = true
reportInvalidStubStatement = true
reportUnusedExpression = true
reportUnnecessaryTypeIgnoreComment = true
reportMatchNotExhaustive = true
reportImplicitOverride = true
reportShadowedImports = true