forked from skrub-data/skrub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
40 lines (36 loc) · 846 Bytes
/
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
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
target_version = ['py310', 'py311']
preview = true
# Exclude irrelevant directories for formatting
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.vscode
| \.pytest_cache
| \.idea
| build
| dist
)/
'''
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
filterwarnings = [
# Turn deprecation warnings into errors
"error::FutureWarning",
"error::DeprecationWarning",
"error::numpy.VisibleDeprecationWarning",
# Ignore warning from np.in1d since the future behavior is already the desired
# behavior. TODO remove when numpy min version >= 1.25.
'ignore:elementwise\ comparison\ failed:FutureWarning',
]