-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
72 lines (64 loc) · 1.45 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "llm_genplan"
version = "0.1.0"
description = "Generalized planning with LLMs."
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"PyYAML",
"types-PyYAML",
"matplotlib",
"numpy",
"pddlgym@git+https://github.com/tomsilver/pddlgym.git",
"pathos",
"pyperclip",
"pandas",
]
[project.optional-dependencies]
develop = [
"black",
"docformatter",
"isort",
"mypy",
"pylint>=2.14.5",
"pytest-pylint>=0.18.0",
"pytest>=7.2.2",
]
[tool.setuptools.packages.find]
exclude = ["tests*", "results*"]
[tool.black]
line-length = 88
target-version = ["py38"]
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = """
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
llm_genplan/third_party
)
"""
[tool.isort]
py_version = 38
profile = "black"
multi_line_output = 2
skip_glob = ["venv/*", "llm_genplan/third_party/*"]
split_on_trailing_comma = true
[tool.mypy]
strict_equality = true
disallow_untyped_calls = true
warn_unreachable = true
exclude = ["venv/*", "llm_genplan/third_party/*"]
follow_imports = "skip"
[[tool.mypy.overrides]]
module = [
"matplotlib.*",
"pddlgym.*",
"pyperclip.*",
"pandas.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--ignore=llm_genplan/third_party"