-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
67 lines (57 loc) · 1.51 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
[project]
authors = [{ name = "Tony Wu", email = "tonywu6@protonmail.com" }]
classifiers = ["Private :: Do Not Upload"]
dependencies = []
name = "secretnote-monorepo"
readme = "README.md"
requires-python = ">=3.10, <3.12"
version = "0.0.0"
[project.scripts]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.rye.workspace]
members = ["pyprojects/*"]
[tool.rye]
dev-dependencies = [
"black[jupyter]>=24.1.0",
"datamodel-code-generator>=0.22.1",
"fastapi<0.100",
"hatch>=1.7.0",
"ipython>=8.12.2",
"jupyterlab>=4.0.5",
"logging_tree>=1.9",
"mypy>=1.5.1",
"pip>=23.2.1",
"pytest>=7.4.0",
"setuptools>=68.2.2",
"snakeviz>=2.2.0",
"uvicorn>=0.23.2",
"pytest-cov>=4.1.0",
]
managed = true
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
include = []
[tool.hatch.build.targets.wheel]
bypass-selection = true
[tool.black]
force-exclude = """
_pb2\\.pyi?
| _pb2_grpc\\.pyi?
| secretnote/proto
"""
line-length = 88
target-version = ["py310", "py311", "py312"]
[tool.pyright]
exclude = ["**/node_modules", "**/__pycache__"]
include = ["pyprojects/**"]
typeCheckingMode = "basic"
# https://github.com/microsoft/pylance-release/issues/5207 pyright is out of sync with pylance
# we manually specify certain rules
# this should keep in sync with `python.analysis.diagnosticSeverityOverrides` in .vscode/settings.json
reportArgumentType = "warning"
reportAttributeAccessIssue = "warning"
reportOptionalMemberAccess = "warning"
reportReturnType = "warning"