1- [build-system ]
2- requires = [" poetry-core>=1.0.0" ]
3- build-backend = " poetry.core.masonry.api"
4-
51[tool .poetry ]
62name = " dialogchain"
7- version = " 0.1.11 "
3+ version = " 0.1.12 "
84description = " DialogChain - A flexible and extensible dialog processing framework"
95authors = [" Tom Sapletta <info@softreck.dev>" ]
106readme = " README.md"
@@ -27,132 +23,72 @@ classifiers = [
2723 " Topic :: Scientific/Engineering :: Artificial Intelligence" ,
2824 " Topic :: Text Processing :: Linguistic" ,
2925]
30- packages = [{include = " dialogchain" , from = " src" }]
3126
3227[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"
28+ python = " ^3.8.1"
29+ click = " ^8.0.0"
30+ pyyaml = " ^6.0.0"
31+ python-dotenv = " ^1.0.0"
32+ aiohttp = " ^3.8.0"
33+ asyncio-mqtt = " ^0.13.0"
34+ grpcio = " ^1.50.0"
35+ grpcio-tools = " ^1.50.0"
36+ jinja2 = " ^3.1.0"
37+ opencv-python = " ^4.7.0"
38+ numpy = " ^1.21.0"
39+ python-nmap = " ^0.7.1"
40+ aiofiles = " ^24.1.0"
4541
4642[tool .poetry .group .dev .dependencies ]
47- # Code formatting
4843black = " ^23.0.0"
4944isort = " ^5.12.0"
45+ pytest = " ^7.0.0"
46+ pytest-asyncio = " ^0.20.0"
47+ pytest-cov = " ^4.0.0"
48+ pytest-mock = " ^3.10.0"
49+ pytest-aiohttp = " ^1.0.0"
50+ pytest-xdist = " ^3.0.0"
51+ mypy = " ^1.0.0"
5052
51- # Linting
52- flake8 = " ^6.0.0"
53- flake8-bugbear = " ^23.7.0"
54- flake8-annotations = " ^3.0.1"
55- flake8-bandit = " ^4.1.1"
56- flake8-docstrings = " ^1.7.0"
57- flake8-import-order = " ^0.18.2"
58- pep8-naming = " ^0.13.3"
59-
60- # Type checking
61- mypy = " ^1.5.0"
62- types-PyYAML = " ^6.0.12"
63- types-requests = " ^2.31.0"
64- types-python-dateutil = " ^2.8.19"
65-
66- # Testing
67- pytest = " ^7.4.0"
68- pytest-asyncio = " ^0.21.1"
69- pytest-cov = " ^4.1.0"
70- pytest-mock = " ^3.11.1"
71- pytest-aiohttp = " ^1.0.5"
72- pytest-xdist = " ^3.3.1"
73- coverage = {extras = [" toml" ], version = " ^7.3.0" }
74-
75- # Documentation
76- sphinx = " ^7.0.1"
77- sphinx-rtd-theme = " ^1.2.2"
78- sphinx-autodoc-typehints = " ^1.23.0"
79- sphinx-copybutton = " ^0.5.2"
80-
81- # Development tools
82- pre-commit = " ^3.3.3"
83- invoke = " ^2.1.2"
84- bandit = " ^1.7.5"
85- safety = " ^2.3.5"
86- vulture = " ^2.7"
87-
88- # Type stubs
89- typing-extensions = " ^4.6.3"
53+ [build-system ]
54+ requires = [" poetry-core>=1.0.0" ]
55+ build-backend = " poetry.core.masonry.api"
9056
9157[tool .poetry .scripts ]
9258dialogchain = " dialogchain.cli:main"
9359
9460[tool .black ]
95- line-length = 88
96- target-version = [' py38' ]
61+ line-length = 120
62+ target-version = [' py38' , ' py39 ' , ' py310 ' , ' py311 ' , ' py312 ' ]
9763include = ' \.pyi?$'
9864
9965[tool .isort ]
10066profile = " black"
101- line_length = 88
102- multi_line_output = 3
103- include_trailing_comma = true
104- force_grid_wrap = 0
105- use_parentheses = true
106- ensure_newline_before_comments = true
107-
108- [tool .mypy ]
109- python_version = " 3.8"
110- warn_return_any = true
111- warn_unused_configs = true
112- disallow_untyped_defs = true
113- check_untyped_defs = true
114- no_implicit_optional = true
115- strict_optional = true
116- warn_redundant_casts = true
117- warn_unused_ignores = true
118- warn_no_return = true
119- warn_unreachable = true
120-
121- [[tool .mypy .overrides ]]
122- module = [
123- " cv2.*" ,
124- " nmap.*" ,
125- " grpc.*" ,
126- " asyncio_mqtt.*"
127- ]
128- ignore_missing_imports = true
129-
130- [[tool .mypy .overrides ]]
131- module = [" tests.*" ]
132- disallow_untyped_defs = false
67+ line_length = 120
13368
13469[tool .pytest .ini_options ]
13570testpaths = [" tests" ]
13671python_files = [" test_*.py" ]
137- python_classes = [" Test*" ]
13872python_functions = [" test_*" ]
139- addopts = " -v --cov=src/dialogchain --cov-report=term-missing --cov-report=xml"
140- asyncio_mode = " auto"
73+ python_classes = [" Test*" ]
74+ pythonpath = [" src" ]
75+ addopts = " -v --cov=dialogchain --cov-report=term-missing"
14176
14277[tool .coverage .run ]
143- source = [" src/ dialogchain" ]
144- omit = [" tests/*" , " */tests/* " ]
78+ source = [" dialogchain" ]
79+ omit = [" tests/*" ]
14580
14681[tool .coverage .report ]
147- show_missing = true
14882fail_under = 80
83+ show_missing = true
14984exclude_lines = [
15085 " pragma: no cover" ,
15186 " def __repr__" ,
15287 " if self.debug:" ,
15388 " if settings.DEBUG" ,
154- " raise AssertionError " ,
89+ " raise ImportError " ,
15590 " raise NotImplementedError" ,
91+ " raise Exception" ,
15692 " if 0:" ,
157- " if __name__ == .__main__.:"
158- ]
93+ " if __name__ == .__main__.:" ,
94+ ]
0 commit comments