forked from pykale/pykale
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (34 loc) · 834 Bytes
/
Copy pathpyproject.toml
File metadata and controls
37 lines (34 loc) · 834 Bytes
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
[build-system]
requires = [
"setuptools==74.1.0",
"wheel",
"numpy",
]
build-backend = "setuptools.build_meta"
[tool.black]
# https://github.com/psf/black
line-length = 120
target-version = ["py311"]
[tool.isort]
known_first_party = [
"docs",
"examples",
"kale",
"tests",
]
known_third_party = [
"matplotlib<=3.10.0", # matplotlib 3.10.1 will cause "Building wheel for matplotlib (setup.py): finished with status 'error'" for tests
"numpy",
"setuptools==74.1.0",
"sphinx_rtd_theme",
"torch",
]
profile = "black"
line_length = 120
force_sort_within_sections = "False"
order_by_type = "False"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"