-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (77 loc) · 1.79 KB
/
pyproject.toml
File metadata and controls
87 lines (77 loc) · 1.79 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
[project]
name = "squirrel-backend"
version = "0.1.0"
description = "High-performance EPICS snapshot/restore backend"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"pydantic>=2.5.0",
"pydantic-settings>=2.1.0",
"sqlalchemy>=2.0.25",
"asyncpg>=0.29.0",
"alembic>=1.13.0",
"aioca>=1.7",
"p4p>=4.1",
"python-multipart>=0.0.6",
"httpx>=0.26.0",
"redis[hiredis]>=5.0.0",
"websockets>=12.0",
"arq>=0.26.0",
"aiobreaker>=1.2.0",
"greenlet>=3.3.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"ruff>=0.1.0",
"mypy>=1.8.0",
"pre-commit>=3.6.0",
"fakeredis>=2.34.1",
]
legacy = ["pyepics>=3.5.2"]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings",
"mkdocstrings-python",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-git-committers-plugin-2",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["app*"]
[tool.black]
line_length = 120
[tool.ruff]
line-length = 120
target-version = "py311"
extend-exclude = ["__init__.py"]
[tool.ruff.lint]
select = ["E", "F", "W", "UP"]
ignore = ["E402", "E501"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.mypy]
python_version = "3.11"
strict = false
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
[tool.isort]
profile = "black"
color_output = true
extend_skip = ["__init__.py"]
length_sort = true
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]