-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
139 lines (120 loc) · 3.08 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
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
[project]
name = "lemming"
version = "0.0.2"
license = {file = "LICENSE"}
authors = [
{ name = "Jung koo Kang", email = "jungkoo.kang@ibm.com" },
{ name = "Tathagata Chakraborti", email = "tchakra2@ibm.com" },
{ name = "Francesco Fuggitti", email = "francesco.fuggitti@gmail.com" },
]
description = "Human in the loop plan selection"
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"automated planning",
"natural language processing",
"process automation",
"service composition",
"conversational agents",
"generative ai",
"large language models",
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Framework :: Pydantic :: 2",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: User Interfaces"
]
dependencies = [
"fastapi>=0.104.1",
"pydantic>=2.5.2",
"forbiditerative==1.0.8",
"requests==2.30.0",
"pydot==1.4.2",
"networkx==3.1.0",
"python-multipart==0.0.6",
"uvicorn[standard] >=0.19.0",
]
[project.optional-dependencies]
dev = [
"check-manifest",
"coverage==7.2.5",
"pytest==7.3.1",
"black==22.3.0",
"pylint==2.17.4",
"flake8==6.0.0",
"pre-commit==3.3.1",
"Flake8-pyproject"
]
nl2ltl = [
"nl2ltl",
"plan4past @ git+https://github.com/whitemech/Plan4Past.git"
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["server*"]
[project.urls]
"Repository" = "https://github.com/IBM/lemming"
"Issues" = "https://github.com/IBM/lemming/issues"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 80
preview = true
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.mypy]
python_version="3.10"
mypy_path = "server"
show_column_numbers = true
# show error messages from unrelated files
follow_imports = "normal"
# suppress errors about unsatisfied imports
ignore_missing_imports = true
# be strict
disallow_untyped_calls = true
warn_return_any = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
no_implicit_optional = true
# Unreachable blocks have been an issue when compiling mypyc, let's try
# to avoid 'em in the first place.
warn_unreachable = true
# The following are off by default. Flip them on if you feel adventurous.
disallow_untyped_defs = true
check_untyped_defs = true
[tool.pylint."MAIN"]
py-version=3.10
[tool.pylint."FORMAT"]
max-line-length = 80
[tool.flake8]
extend-ignore = ["E203", "E501"]
count = true
max-line-length = 80
max-complexity = 18