-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (71 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
80 lines (71 loc) · 1.6 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
[project]
dependencies = [
"aiosqlite>=0.22.1",
"argparse>=1.4.0",
"colorlog>=6.10.1",
"fastapi[standard]>=0.115.14",
"httpx>=0.28.1",
"pyside6>=6.10.1",
"requests>=2.32.5",
"semver>=3.0.4",
"sqlalchemy[asyncio]>=2.0.45",
"uvicorn>=0.34.3",
"websockets>=15.0.1",
]
dynamic = ["version"]
name = "nso-bridge"
requires-python = "==3.12.*"
[dependency-groups]
dev = [
"debugpy>=1.8.20",
"pillow>=12.1.0",
"pyinstaller>=6.17.0",
"pytest>=9.0.2",
"ruff>=0.14.10",
"ty>=0.0.8",
]
[tool.pytest.ini_options]
pythonpath = ["backend/src"]
[tool.ruff]
extend-exclude = ["*.spec"]
indent-width = 4
line-length = 88
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 88
indent-style = "space"
quote-style = "single"
[tool.ruff.lint]
extend-select = [
"A", # flake8 builtins
"B", # flake8 bugbear
"C", # McCabe complexity
"D", # Documentation
"E", # pycodestyle errors
"F", # Pyflakes
"I", # Import sorting
"FAST", # FastAPI
"PL", # Pylint
"EXE", # flake8 executable
"TC", # flake8 type checking
"N", # pep8 naming conventions
"S", # flake8 bandit
]
ignore = [
"D203", # No blank lines allowed before class docstring
"D213", # Multi-line docstring summary should start at the first line
]
[tool.ruff.lint.isort]
combine-as-imports = true
force-single-line = false
[tool.ruff.lint.per-file-ignores]
"backend/src/*" = [
"S104", # Allow use of all-interfaces string (0.0.0.0)
]
"backend/tests/*" = [
"S101", # Allow asserts
]
[tool.setuptools.packages.find]
include = ["backend"]
[tool.ty.src]
exclude = ["backend/*.spec"]