-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
96 lines (86 loc) · 2.09 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[build-system]
requires = ["build", "setuptools-scm"]
[project]
dynamic = ["version"]
readme = "README.md"
authors = [
{ name = "International Transport Energy Modeling contributors", email = "[email protected]" },
]
maintainers = [
{ name = "Paul Natsuo Kishimoto", email = "[email protected]" },
]
name = "transport-energy"
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.8"
dependencies = [
"click",
"iam-units",
"openpyxl",
"pandas",
"Pint",
"plotnine",
"pycountry",
"pyyaml",
"sdmx1 >= 2.8.0",
"setuptools >= 41",
"xarray",
]
[project.urls]
homepage = "https://github.com/transportenergy/database"
documentation = "https://transportenergy.readthedocs.io"
[project.optional-dependencies]
eppa = ["gdx >= 3"]
hist = ["Jinja2", "requests"]
tests = [
"transport-energy[doc]",
"transport-energy[hist]",
"pytest",
"pytest-cov",
]
doc = ["sphinx", "sphinx-rtd-theme"]
[project.scripts]
item = "item.cli:main"
[tool.coverage.run]
omit = [
"item/historical/legacy.py",
"item/model/bp.py",
"item/model/cli.py",
"item/model/eia.py",
"item/model/eppa5.py",
"item/model/exxonmobil.py",
"item/model/get.py",
"item/model/itf.py",
"item/model/message.py",
]
[[tool.mypy.overrides]]
module = [
"gdx",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = """-m "not slow" --cov=item --cov-report="""
markers = [
"slow: mark a test as slow.",
"network: mark a test that requires a network connection.",
]
[tool.ruff.lint]
select = ["C9", "E", "F", "I", "W"]
ignore = ["E501", "W191"]
# Exceptions:
# item.model.eppa5.check(): 13
mccabe.max-complexity = 12
[tool.setuptools.packages]
find = {}
[tool.setuptools_scm]