11[build-system ]
2- requires = [" poetry-core>=2 .0.0" ]
2+ requires = [" poetry-core>=1 .0.0" ]
33build-backend = " poetry.core.masonry.api"
44
5- [project ]
5+ [tool . poetry ]
66name = " dialogchain"
7- version = " 0.1.10 "
7+ version = " 0.1.11 "
88description = " DialogChain - A flexible and extensible dialog processing framework"
9- authors = [
10- {name = " DialogChain Team" , email = " team@dialogchain.org" },
11- ]
9+ authors = [" Tom Sapletta <info@softreck.dev>" ]
1210readme = " README.md"
13- requires-python = " >=3.8.1,<3.13"
14- license = {text = " Apache-2.0" }
11+ license = " Apache-2.0"
12+ homepage = " https://github.com/dialogchain/python"
13+ repository = " https://github.com/dialogchain/python"
14+ documentation = " https://github.com/dialogchain/python"
1515classifiers = [
1616 " Development Status :: 4 - Beta" ,
1717 " Intended Audience :: Developers" ,
@@ -21,32 +21,31 @@ classifiers = [
2121 " Programming Language :: Python :: 3.9" ,
2222 " Programming Language :: Python :: 3.10" ,
2323 " Programming Language :: Python :: 3.11" ,
24+ " Programming Language :: Python :: 3.12" ,
2425 " Topic :: Software Development :: Libraries :: Python Modules" ,
2526 " Topic :: Communications :: Chat" ,
2627 " Topic :: Scientific/Engineering :: Artificial Intelligence" ,
2728 " Topic :: Text Processing :: Linguistic" ,
2829]
29- dependencies = [
30- " click>=8.0.0,<9.0.0" ,
31- " pyyaml>=6.0,<7.0" ,
32- " python-dotenv>=1.0.0,<2.0.0" ,
33- " aiohttp>=3.8.0,<4.0.0" ,
34- " asyncio-mqtt>=0.13.0,<0.14.0" ,
35- " grpcio>=1.50.0,<2.0.0" ,
36- " grpcio-tools>=1.50.0,<2.0.0" ,
37- " jinja2>=3.1.0,<4.0.0" ,
38- " opencv-python>=4.7.0,<5.0.0" ,
39- " numpy>=1.21.0,<2.0.0" ,
40- " python-nmap>=0.7.1,<1.0.0"
41- ]
30+ packages = [{include = " dialogchain" , from = " src" }]
4231
43- [project .urls ]
44- Homepage = " https://github.com/dialogchain/python"
45- "Bug Tracker" = " https://github.com/dialogchain/python/issues"
32+ [tool .poetry .dependencies ]
33+ python = " >=3.8.1,<3.13"
34+ click = " >=8.0.0,<9.0.0"
35+ pyyaml = " >=6.0,<7.0"
36+ python-dotenv = " >=1.0.0,<2.0.0"
37+ aiohttp = " >=3.8.0,<4.0.0"
38+ asyncio-mqtt = " >=0.13.0,<0.14.0"
39+ grpcio = " >=1.50.0,<2.0.0"
40+ grpcio-tools = " >=1.50.0,<2.0.0"
41+ jinja2 = " >=3.1.0,<4.0.0"
42+ opencv-python = " >=4.7.0,<5.0.0"
43+ numpy = " >=1.21.0,<2.0.0"
44+ python-nmap = " >=0.7.1,<1.0.0"
4645
4746[tool .poetry .group .dev .dependencies ]
4847black = " ^23.0.0"
49- flake8 = " >= 6.0.0"
48+ flake8 = " ^ 6.0.0"
5049flake8-bugbear = " ^23.7.0"
5150isort = " ^5.12.0"
5251mypy = " ^1.0.0"
@@ -58,9 +57,8 @@ pytest-asyncio = "^0.21.0"
5857pytest-cov = " ^4.0.0"
5958pytest-mock = " ^3.10.0"
6059coverage = {extras = [" toml" ], version = " ^7.0.0" }
61- codecov = " ^2.1.0"
6260
63- [project .scripts ]
61+ [tool . poetry .scripts ]
6462dialogchain = " dialogchain.cli:main"
6563
6664[tool .black ]
@@ -90,6 +88,15 @@ warn_unused_ignores = true
9088warn_no_return = true
9189warn_unreachable = true
9290
91+ [[tool .mypy .overrides ]]
92+ module = [
93+ " cv2.*" ,
94+ " nmap.*" ,
95+ " grpc.*" ,
96+ " asyncio_mqtt.*"
97+ ]
98+ ignore_missing_imports = true
99+
93100[[tool .mypy .overrides ]]
94101module = [" tests.*" ]
95102disallow_untyped_defs = false
@@ -99,16 +106,23 @@ testpaths = ["tests"]
99106python_files = [" test_*.py" ]
100107python_classes = [" Test*" ]
101108python_functions = [" test_*" ]
102- addopts = " -v -s -- cov=dialogchain --cov-report=term-missing"
109+ addopts = " -v -- cov=src/ dialogchain --cov-report=term-missing --cov-report=xml "
103110asyncio_mode = " auto"
104111
105112[tool .coverage .run ]
106- source = [" dialogchain" ]
107- omit = [" tests/*" ]
113+ source = [" src/ dialogchain" ]
114+ omit = [" tests/*" , " */tests/* " ]
108115
109116[tool .coverage .report ]
110117show_missing = true
111118fail_under = 80
112-
113- [metadata ]
114- license_files = [" LICENSE" ]
119+ exclude_lines = [
120+ " pragma: no cover" ,
121+ " def __repr__" ,
122+ " if self.debug:" ,
123+ " if settings.DEBUG" ,
124+ " raise AssertionError" ,
125+ " raise NotImplementedError" ,
126+ " if 0:" ,
127+ " if __name__ == .__main__.:"
128+ ]
0 commit comments