-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
71 lines (61 loc) · 1.47 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
59
60
61
62
63
64
65
66
67
68
69
70
71
[build-system]
requires = ["build", "setuptools-scm"]
[project]
dynamic = ["version"]
name = "message-ix-buildings"
authors = [
{name = "IIASA ECE Program"}
]
maintainers = [
{name = "Xiaoyang Zhong", email = "[email protected]"},
{name = "Alessio Mastrucci", email = "[email protected]"},
{name = "Paul Natsuo Kishimoto", email = "[email protected]"},
{name = "Fridolin Glatter", email = "[email protected]"},
]
readme = "README.rst"
[project.urls]
homepage = "https://github.com/iiasa/message-ix-buildings"
repository = "https://github.com/iiasa/message-ix-buildings"
documentation = "https://docs.messageix.org/buildings/"
[project.optional-dependencies]
chilled = [
"numpy",
"pandas",
"xarray",
]
docs = [
"Sphinx",
# required for sphinx-rtd-theme 1.2.2, remove support is added
# see https://github.com/readthedocs/sphinx_rtd_theme/issues/1323
"docutils < 0.19",
]
tests = [
"pytest",
]
[tool.setuptools.packages]
find = {}
[tool.setuptools_scm]
[tool.ruff]
exclude = [
".git",
"__pycache__",
"*.egg-info",
".pytest_cache",
".mypy_cache",
".venv",
"example.py",
"import.py",
]
line-length = 88
[tool.ruff.format]
# Enable reformatting of code snippets in docstrings.
docstring-code-format = true
[tool.ruff.lint]
select = ["C9", "E", "F", "I", "W"]
ignore = ["B008"]
[tool.ruff.lint.per-file-ignores]
# Ignore unused imports:
"__init__.py" = ["F401"]
"user_settings.py" = ["E501"]
[tool.ruff.lint.mccabe]
max-complexity = 10