-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
80 lines (72 loc) · 2.05 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "mango-agents"
version = "2.1.3"
authors = [
{ name="mango Team", email="[email protected]" },
]
description = "Modular Python Agent Framework"
readme = "readme.md"
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
license = {file="LICENSE"}
dependencies = [
"paho-mqtt>=2.1.0",
"python-dateutil>=2.9.0",
"dill>=0.3.8",
"protobuf==5.27.2",
"networkx>=3.4.1"
]
[project.optional-dependencies]
fastjson = [
"msgspec>=0.18.6"
]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio",
"pre-commit"
]
[project.urls]
Homepage = "https://mango-agents.readthedocs.io"
Repository = "https://github.com/OFFIS-DAI/mango"
Issues = "https://github.com/OFFIS-DAI/mango/issues"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
markers = [
"mqtt",
]
[tool.coverage.run]
omit = ["tests/*"]
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E", "F", "G", "I", "UP", "AIR", "PIE", "PLR1714", "PLW2901", "TRY201"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"I001", # allow unsorted imports in __init__.py
"F401", # allow unused imports in __init__.py
]
"examples/*" = [
"ARG", # allow unused arguments
"F841", # allow unused local variables
]
"tests/*" = [
"ARG", # allow unused arguments for pytest fixtures
"E741", # allow reused variables
"F841", # allow unused local variables
]