forked from nats-io/nats.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (40 loc) · 1.24 KB
/
pyproject.toml
File metadata and controls
49 lines (40 loc) · 1.24 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
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.0.0",
"ty>=0.0.0a6",
"ruff>=0.1.0",
"codespell>=2.2.0",
]
[tool.uv]
workspace = { members = ["nats", "nats-server", "nats-core", "nats-jetstream"] }
[tool.ty.environment]
root = ["nats-core/src", "nats-server/src", "nats-jetstream/src"]
[tool.ty.src]
exclude = ["nats/"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"nats/examples/*" = ["E722", "F821", "F841", "I001", "W291"]
"nats/benchmark/*" = ["E722", "F403", "F405"]
"nats/tests/*" = ["F403", "F405", "F841", "E711", "E402", "I001", "E722", "F601", "E712", "F401"]
"nats/src/nats/micro/__init__.py" = ["F401"]
"nats/src/nats/nuid.py" = ["E741"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["nats/tests"]
[tool.codespell]
skip = ".git,*.lock,*.svg,*.png,*.jpg,*.jpeg,*.gif,*.ico,*.woff,*.woff2,*.ttf,*.eot,.venv,.venv-*,.mypy_cache,htmlcov,*.pyc"
ignore-words-list = "nats,nuid,ack,nak,hdr"
check-filenames = true
check-hidden = true