forked from nats-io/nats.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (55 loc) · 1.77 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "nats-py"
authors = [
{ name="Waldemar Quevedo", email="wally@synadia.com" },
]
description = "NATS client for Python"
dynamic = ["version"]
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.7"
classifiers = [
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
]
[project.urls]
"Homepage" = "https://github.com/nats-io/nats.py"
"Bug Tracker" = "https://github.com/nats-io/nats.py/issues"
[tool.setuptools]
zip-safe = true
[tool.setuptools.dynamic]
version = {attr = "nats.aio.client.__version__"}
[tool.setuptools.packages.find]
include = ["nats*"] # package names should match these glob patterns (["*"] by default)
exclude = ["scripts", "tests"] # exclude packages matching these glob patterns (empty by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.mypy]
files = ["nats"]
python_version = "3.7"
ignore_missing_imports = true
follow_imports = "silent"
show_error_codes = true
check_untyped_defs = false
[tool.pytest.ini_options]
addopts = ["--cov=nats", "--cov-report=html"]
[tool.yapf]
split_before_first_argument = true
dedent_closing_brackets = true
coalesce_brackets = true
allow_split_before_dict_value = false
indent_dictionary_value = true
split_before_expression_after_opening_paren = true
[tool.isort]
combine_as_imports = true
multi_line_output = 3
include_trailing_comma = true
src_paths = ["nats", "tests"]