-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
159 lines (146 loc) · 3.67 KB
/
pyproject.toml
File metadata and controls
159 lines (146 loc) · 3.67 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[tool]
[tool.poetry]
authors = ["Daisuke Jinno <klvx01@gmail.com>"]
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
description = "Core logic of GUI and LLM agent bridge, including loop and controls.."
homepage = "https://github.com/nobu007/GuiAgentLoopCore"
license = "MIT"
name = "GuiAgentLoopCore"
packages = [
{include = "gui_agent_loop_core"},
{include = "tests", format = "sdist"},
]
readme = "README.md"
version = "0.1.0"
[tool.poetry.dependencies]
bump2version = {version = "*", optional = true}
click = "^8.1.7"
flake8 = {version = "^7.1.1", optional = true}
flake8-docstrings = {version = "^1.7.0", optional = true}
gradio = "^5.13.0"
gradio_client = "^1.6.0"
isort = {version = "^5.13.2", optional = true}
jwt = {version = "*", optional = true}
langchain = "^0.3.15"
mkdocs = {version = "^1.6.1", optional = true}
mkdocs-autorefs = {version = "*", optional = true}
mkdocs-include-markdown-plugin = {version = "^6.2.2", optional = true}
mkdocs-material = {version = "^9.5.36", optional = true}
mkdocs-material-extensions = {version = "^1.3.1", optional = true}
mkdocstrings = {version = "*", optional = true}
mypy = {version = "^1.11.2", optional = true}
pip = {version = "^25.0", optional = true}
pre-commit = {version = "*", optional = true}
pytest = {version = "^8.3.3", optional = true}
pytest-cov = {version = "^5.0.0", optional = true}
python = ">=3.10,<4.0"
ruff = {version = "^0.9.3", optional = true}
selenium = "^4.28.1"
toml = {version = "*", optional = true}
tox = {version = "^4.24.1", optional = true}
twine = {version = "*", optional = true}
[tool.poetry.extras]
test = [
"black",
"flake8",
"flake8-docstrings",
"isort",
"mypy",
"pytest",
"pytest-cov",
]
dev = ["tox", "pre-commit", "pip", "twine", "toml", "bump2version"]
doc = [
"mkdocs",
"mkdocs-include-markdown-plugin",
"mkdocs-material",
"mkdocstrings",
"mkdocs-material-extensions",
"mkdocs-autorefs",
]
[tool.poetry.scripts]
GuiAgentLoopCore = 'gui_agent_loop_core.cli:main'
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
include = '\.pyi?$'
line-length = 120
skip-string-normalization = true
target-version = ['py310', 'py311', 'py312']
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 120
multi_line_output = 3
skip_gitignore = true
use_parentheses = true
# you can skip files as below
#skip_glob = docs/conf.py
[tool.pylint.messages_control]
disable = [
"global-statement",
"missing-docstring",
]
[tool.flake8]
docstring-convention = "google"
exclude = [
".git",
"__pycache__",
"setup.py",
"build",
"dist",
"docs",
"releases",
".venv",
".tox",
".mypy_cache",
".pytest_cache",
".vscode",
".github", # By default test codes will be linted. # "tests"
]
ignore = ["E203", "E266", "W503"]
max-complexity = 18
max-line-length = 120
per-file-ignores = {"__init__.py" = "F401"}
[tool.mypy]
ignore_missing_imports = true
[tool.coverage.run]
# uncomment the following to omit files during running
# omit = []
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == '__main__':",
"def main",
]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]