-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
147 lines (126 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
147 lines (126 loc) · 2.44 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
[project]
name = "mathfish"
version = "0.0.1"
description = "Evaluating Common Core Alignment"
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"numpy",
"matplotlib",
"tqdm",
"blingfire==0.1.8",
"pandas",
"seaborn",
"requests==2.28.1",
"scikit-learn>=1.2.0",
"dashtable",
"html-to-json",
"together",
"torch",
"openai",
"transformers",
"tenacity",
"python-dotenv",
"sentencepiece",
"protobuf",
"accelerate"
]
[[project.authors]]
name = "Allen Institute for Artificial Intelligence"
email = "[email protected]"
[[project.authors]]
name = "Lucy Li"
email = "[email protected]"
[[project.authors]]
name = "Tal August"
email = "[email protected]"
[[project.authors]]
name = "Rose E. Wang"
email = "[email protected]"
[[project.authors]]
name = "Luca Soldaini"
email = "[email protected]"
[[project.authors]]
name = "Kyle Lo"
email = "[email protected]"
[tool.setuptools.packages.find]
where = ['.',]
[tool.setuptools.package-data]
mathfish = [
'../requirements.txt',
'py.typed',
]
[build-system]
build-backend = 'setuptools.build_meta'
requires = [
'setuptools >= 61.0.0',
'pip >= 21.0.0',
'wheel',
'Cython==0.29.36'
]
[project.optional-dependencies]
dev = [
'pytest',
'pytest-xdist',
'pytest-cov',
'mypy>=0.971'
]
[tool.pytest.ini_options]
addopts = '-n auto --cov=.'
testpaths = ['tests/']
pythonpath = [
'.', 'src',
]
norecursedirs = "tests/wrapper"
python_classes = ['Test*', '*Test']
log_format = '%(asctime)s - %(levelname)s - %(name)s - %(message)s'
log_level = 'DEBUG'
markers = []
filterwarnings = []
[tool.coverage.run]
omit = [
'*__init__*',
'*Test*',
'tests/fixtures/*',
'tests/*',
]
[tool.coverage.report]
fail_under = 25
[tool.black]
line-length = 115
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.autopep8]
max_line_length = 115
in-place = true
recursive = true
aggressive = 3
[tool.mypy]
python_version = 3.8
ignore_missing_imports = true
no_site_packages = true
allow_redefinition = false
warn_unused_configs = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = false
warn_unreachable = true
show_error_codes = true
pretty = true
[tool.mypy-tests]
strict_optional = false