-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
58 lines (48 loc) · 1.24 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
[project]
name = "infembed"
description = "Find inputs that cause your model to make a mistake."
authors = [{name = "Guide Labs"}]
dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
requires-python = ">=3.9"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.in"]}
readme = {file = "README.md"}
[tool.setuptools.dynamic.optional-dependencies]
dev = {file = ["requirements-dev.in"]}
local = {file = ["requirements-local.in"]}
[tool.setuptools.packages.find]
where = ["infembed"]
[tool.mypy]
show_error_codes = true
warn_unused_ignores = true
no_implicit_optional = true
warn_redundant_casts = true
strict_equality = true
warn_unreachable = true
plugins = ["numpy.typing.mypy_plugin"]
[[tool.mypy.overrides]]
module = [
"matplotlib.*",
"pandas.*",
"scipy.*",
"seaborn",
"sklearn.*",
"tqdm.*",
"transformers.*",
]
ignore_missing_imports = true
[build-system]
requires = ["setuptools >= 65", "setuptools_scm[toml]>=6.2"]
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
search_parent_directories = true
version_scheme = "no-guess-dev"
local_scheme = "node-and-date"
[tool.ruff]
line-length = 100
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]