-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (73 loc) · 1.48 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (73 loc) · 1.48 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
[project]
name = "phasmid"
version = "0.1.5"
description = "Phasmid local-only coercion-aware storage prototype"
requires-python = ">=3.10"
dependencies = [
"cryptography==48.0.1",
"argon2-cffi==25.1.0",
"fastapi==0.136.1",
"jinja2==3.1.6",
"numpy==2.2.6",
"opencv-python-headless==4.13.0.92",
"platformdirs==4.9.6",
"python-multipart==0.0.31",
"rich==15.0.0",
"textual==8.2.5",
"tomli==2.4.1; python_version < \"3.11\"",
"tomli-w==1.2.0",
"uvicorn==0.46.0",
]
[project.scripts]
phasmid = "phasmid.cli:main"
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B"]
ignore = [
"E402", # Module level import not at top of file
"E501", # Line too long
"B008", # Do not perform function call in argument defaults (FastAPI Depends/File/Form)
]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false # Start relaxed
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"cv2",
"numpy",
"cryptography.*",
"fastapi.*",
"jinja2.*",
"textual.*",
"tomli_w"
]
ignore_missing_imports = true
[tool.coverage.run]
omit = [
"src/phasmid/tui/*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]