forked from numaproj/numaflow-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (78 loc) · 1.75 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
[tool.poetry]
name = "pynumaflow"
version = "0.7.3"
description = "Provides the interfaces of writing Python User Defined Functions and Sinks for NumaFlow."
authors = ["NumaFlow Developers"]
readme = "README.md"
license = "Apache-2.0"
maintainers = [
"Avik Basu <avikbasu93@gmail.com>",
"Vigith Maurice <vigith@gmail.com>",
]
classifiers = [
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
repository = "https://github.com/numaproj/numaflow-python"
[tool.poetry.dependencies]
python = ">=3.9, <3.13"
grpcio = "^1.48.1"
grpcio-tools = "^1.48.1"
google-cloud = "^0.34.0"
google-api-core = "^2.11.0"
protobuf = ">=3.20,<5.0"
aiorun = "^2023.7"
uvloop = "^0.19.0"
psutil = "^6.0.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
pytest-cov = "^3.0"
black = "^23.1"
grpcio-testing = "^1.48.1"
ruff = "^0.0.264"
pre-commit = "^3.3.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ["py39"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.idea
| _build
| buck-out
| build
| dist
| tests/.*/setup.py
| function/proto
| sink/proto
)/
'''
[tool.ruff]
line-length = 100
src = ["pynumaflow", "tests", "examples"]
target-version = "py39"
show-fixes = true
extend-exclude = [
"*_pb2.py",
"*_pb2*.py",
"*.pyi"
]
output-format = "full"
[tool.ruff.lint]
select = ["E", "F", "UP"]