-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
89 lines (75 loc) · 2.57 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[tool.zimports]
black-line-length = 88
[tool.poetry]
name = "xraysink"
version = "1.6.3-beta"
description = "Instrument asyncio Python for distributed tracing with AWS X-Ray."
readme = "README.md"
authors = ["Gary Donovan <gazza@gazza.id.au>"]
license = "Apache 2.0"
homepage = "https://github.com/garyd203/xraysink"
repository = "https://github.com/garyd203/xraysink"
documentation = "https://github.com/garyd203/xraysink"
# If you update this keyword list, also update the one in github
keywords=["AWS", "XRay", "python", "asyncio", "distributed-tracing"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: System :: Monitoring",
]
packages = [
{ include="xraysink", from="src" },
]
[tool.poetry.dependencies]
# Update the environment variable `MIN_PYTHON_VERSION` in GitHub Actions
# workflow files if the minimum Python version changes.
python = "^3.7.9"
aws_xray_sdk = "~2"
wrapt = "^1.15"
[tool.poetry.group.testing.dependencies]
# Dependencies for running unit tests
aiohttp = "^3"
async-asgi-testclient = "^1.4.4"
coverage = [
{ version = "^6.3", markers = "python_version >= '3.7'", extras=["toml"] },
{ version = "~6.2", markers = "python_version < '3.7'", extras=["toml"] },
]
fastapi = "^0.92"
pytest = "^7"
pytest-asyncio = "^0.14"
pytest-cov = "^3.0"
setuptools = "~67"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.0"
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B", "A", "C4", "ERA", "EXE", "ISC", "G", "T20", "PT", "SIM", "UP032"]
ignore = ["E501", "ISC001"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = true
line-ending = "auto"
[build-system]
requires = ["poetry>=1.5.0"]
build-backend = "poetry.masonry.api"