This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
/
pyproject.toml
144 lines (127 loc) · 3.34 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
140
141
142
143
144
[build-system]
requires = ["poetry-core", "setuptools", "wheel"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
automata = 'automata.cli.__main__:cli'
[tool.poetry.group.dev.dependencies]
notebook = "7.0.0"
jupyter = "^1.0.0"
sourcery = "^1.6.0"
types-requests = "^2.31.0.2"
[tool.poetry]
name = "automata"
version = "0.1.0"
description = "Automata: The Self-Coding Machine"
authors = ["Owen Colegrove <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
black = "^23.3.0"
click = "8.1.6"
codecov = "2.1.13"
colorlog = "6.7.0"
isort = "5.12.0"
jinja2 = "3.1.2"
jsonpickle = "3.0.1"
jsonschema = "4.19.0"
matplotlib = "3.7.2"
networkx = "3.1"
numpy = "1.25.2"
openai = "0.27.8"
pandas = "2.0.3"
plotly = "5.15.0"
protobuf = "4.23.4"
pydantic = "^1.9.0"
pypandoc = "1.11"
pytest-mock = "3.11.1"
python-dotenv = "1.0.0"
scikit-learn = "1.2.2"
scipy = "1.11.1"
termcolor = "2.3.0"
tiktoken = "0.4.0"
types-protobuf = "4.23.0.2"
GitPython = "3.1.32"
PyGithub = "1.59.0"
PyYAML = "6.0.1"
chromadb = "^0.3.29"
astunparse = "^1.6.3"
ipykernel = "^6.24.0"
pathlib = "^1.0.1"
pytest-shutil = "^1.7.0"
flask = "^2.3.2"
responses = "^0.23.3"
pytest-rerunfailures = "^12.0"
questionary = "^1.10.0"
# TODO - Identify how to include this package
# without breaking the build
# evalplus = { path = "research/evalplus" }
requests = "^2.31.0"
[tool.poetry.dev-dependencies]
pytest = "^7.4"
sphinx = "^4.5"
sphinx-panels = "0.6.0" # Used on Linux
sphinx-rtd-dark-mode = "1.2.4" # Used on Windows
sphinx_panels = "0.6.0" # Used on Windows
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning:jsonspec.*"]
addopts = "-m 'not regression and not evaluation' --ignore=**/sample_modules/* --ignore=scip-python/ --ignore=local_tasks/"
markers = [
"regression: marks tests as regression tests",
"evaluation: mark a test as part of the evaluation suite",
"tool_name: description of tool_name marker",
"tool_description: description of the tool's functionality",
"performance: marks tests as performance tests",
]
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| random
| build
| scip-python
| research/leetcode_hard_gym
| research/evalplus
| local_tasks
)/
)
'''
[tool.mypy]
# other mypy configurations go here
# uncomment if this is being really annoying again
ignore_missing_imports = true
exclude = '(scip-python|__pycache__|local_tasks|sample_modules|playground|leetcode_hard_gym|evalplus)/'
[[tool.mypy.overrides]]
module = "pytz.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "yaml"
ignore_missing_imports = true
[tool.coverage.run]
source = ["."]
omit = ["*/tests/*", "*/site-packages/*", "*/distutils/*", "*/venv/*", "setup.py", "conftest.py"]
[tool.coverage.report]
precision = 2
omit = ["*/tests/*", "*/site-packages/*", "*/distutils/*", "*/venv/*", "setup.py", "conftest.py"]
[tool.coverage.html]
directory = "htmlcov/"
[tool.codecov]
require_ci_to_pass = true
[tool.flake8]
ignore = ["E501", "W503"]
[tool.pyright]
reportGeneralTypeIssues = true
reportMissingTypeStubs = false
useLibraryCodeForTypes = true