forked from experimental-design/bofire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (39 loc) · 1.25 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
[build-system]
requires = ["setuptools", "setuptools_scm[toml]", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
local_scheme = "node-and-date"
write_to = "./bofire/version.py"
[tool.ruff]
ignore = [
"E501", # don't enforce for comments and docstrings
"B017", # required for tests
"B027", # required for optional _tell method
"B028",
"B904",
"B905",
]
line-length = 88
select = ["B", "C", "E", "F", "W", "I"]
[tool.ruff.mccabe]
max-complexity = 18
[tool.ruff.per-file-ignores]
"bofire/surrogates/api.py" = ["F401"]
"bofire/data_models/priors/api.py" = ["F401"]
"bofire/priors/api.py" = ["F401"]
"bofire/utils/annotated.py" = ["F401"]
"bofire/data_models/outlier_detection/api.py" = ["F401"]
"bofire/outlier_detection/api.py" = ["F401"]
"tests/bofire/data_models/specs/api.py" = ["F401"]
"bofire/data_models/api.py" = ["F401"]
"bofire/data_models/surrogates/api.py" = ["F401"]
"bofire/benchmarks/api.py" = ["F401"]
"bofire/runners/api.py" = ["F401"]
"bofire/strategies/mapper.py" = ["F401"]
"bofire/strategies/api.py" = ["F401"]
"bofire/data_models/features/api.py" = ["F401"]
"bofire/data_models/strategies/api.py" = ["F401"]
"bofire/plot/api.py" = ["F401"]
[tool.pyright]
include = ["bofire"]
exclude = ["bofire/version.py"]