generated from aicoe-aiops/project-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
122 lines (108 loc) · 3.16 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[project]
name = "itr-data-pipeline"
version = "v0.1.0"
description = "Load Sectoral Decarbonization Approach (benchmarks) into Data Mesh"
authors = [
{ name = "Michael Tiemann", email = "[email protected]" },
]
requires-python = "<3.12,>=3.10"
readme = "README.md"
license = { text = "Apache-2.0" }
keywords = ["Climate", "ITR", "Finance"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Topic :: Office/Business :: Financial",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
dependencies = [
"iam-units>=2023.9.12",
"jupyterlab==4.1.6",
"numpy>=1.26",
"openpyxl>=3.1.0",
"openscm-units>=0.5.4",
"osc-ingest-tools>=0.5.3",
"pandas>=2.1.0",
"pip>=23.3.1",
"Pint>=0.23",
"Pint-Pandas>=0.5",
"psutil==5.9.5",
"pydantic<2.7,>=2.6",
"pygithub==1.55",
# "pytest==7.3.2",
"setuptools>=65.7.0",
"sphinx<8,>=6",
"sphinx-autoapi>=2.0.1",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme==1.3.0",
"SQLAlchemy>=2.0.20",
"trino>=0.328.0",
"wheel>=0.41.0",
"xlrd==2.0.1",
"rpds-py<0.18",
"hologram>=0.0.16",
"jinja2>=3.1.2",
"werkzeug>=3",
"dbt-core>=1.5",
"dbt-trino>=1.5",
]
[tool.setuptools.package-data]
itr = [
"py.typed"
]
[project.urls]
Homepage = "https://github.com/os-climate/itr-data-pipeline"
Repository = "https://github.com/os-climate/itr-data-pipeline"
Downloads = "https://github.com/os-climate/itr-data-pipeline/releases"
"Bug Tracker" = "https://github.com/os-climate/itr-data-pipeline/issues"
Documentation = "https://github.com/os-climate/itr-data-pipeline/tree/main/docs"
"Source Code" = "https://github.com/os-climate/itr-data-pipeline"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.scripts]
pre_release = "scripts/dev-versioning.sh"
release = "scripts/release-versioning.sh"
test = "pytest"
tox = "tox"
docs = { shell = "cd docs && mkdocs serve", help = "Start the dev server for doc preview" }
lint = "pre-commit run --all-files"
complete = { call = "tasks.complete:main", help = "Create autocomplete files for bash and fish" }
[tool.pdm.dev-dependencies]
test = ["nbmake", "pdm[pytest]", "pytest-cov"]
tox = ["tox", "tox-pdm>=0.5"]
docs = ["sphinx>=7.2.6", "sphinx-copybutton>=0.5.2"]
dev = ["tox>=4.11.3", "tox-pdm>=0.7.0"]
lint = ["pre-commit", "pyproject-flake8"]
[tool.pytest.ini_options]
testpaths = [
"test/",
]
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.flake8]
max-line-length = "120"
extend-ignore = [
"E501",
]
[tool.mypy]
ignore_missing_imports = true
[tool.coverage]
[tool.coverage.run]
source = ["src"]
omit = ["test/*"]
# relative_files = true
[tool.coverage.report]
skip_empty = true