-
Notifications
You must be signed in to change notification settings - Fork 58
/
pyproject.toml
115 lines (103 loc) · 2.37 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["maturin>=1"]
build-backend = "maturin"
[project]
name = "bytewax"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Networking",
"Topic :: System :: Distributed Computing",
]
dependencies = [
"jsonpickle>=3",
"typing_extensions>=4",
]
extras = [
"cbfmt",
"dev",
"kafka",
"test",
]
[project.optional-dependencies]
cbfmt = [
"ruff==0.1.8",
]
dev = [
"bytewax[cbfmt,kafka,test]",
"astor==0.8.1 ; python_version <= '3.8'",
"graphlib_backport==1.0.3 ; python_version <= '3.8'",
"pre-commit==2.19.0",
"ruff==0.1.8",
"vermin==1.5.2",
]
kafka = [
"requests>=2.0",
"fastavro>=1.8",
"confluent-kafka<=2.0.2", # Update this to a broader bound once we fix CI.
]
test = [
"myst-docutils==0.17.0",
"pytest==7.1.0",
"pytest-benchmark>=3.4",
"sybil==6.0.3",
]
[project.urls]
"Source Code" = "https://github.com/bytewax/bytewax"
Issues = "https://github.com/bytewax/bytewax/issues"
Documentation = "https://docs.bytewax.io/"
Changelog = "https://github.com/bytewax/bytewax/blob/main/CHANGELOG.md"
[metadata]
long_description = "file: README.md"
long_description_content_type = "text/markdown"
[tool.pytest.ini_options]
addopts = "-v -p no:doctest --benchmark-skip"
testpaths = [
"docs",
"pytests",
"pysrc",
"README.md",
]
[tool.maturin]
module-name = "bytewax._bytewax"
python-source = "pysrc"
[tool.mypy]
mypy_path = "pysrc"
[tool.ruff]
select = [
"A",
"B",
"D",
"DTZ",
"E",
"EM",
"F",
"I",
"PL",
"W",
]
ignore = [
"D105",
"E731",
"PLR",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.per-file-ignores]
"examples/*.py" = ["D"]
"pytests/test_flows/*.py" = ["D"]
"test_*.py" = ["D"]
# Because `test_encoder` has huge literals in it.
"pytests/test_encoder.py" = ["E501"]