-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (46 loc) · 1.38 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
[project]
name = "isp-workbook-parser"
version = "2.4.1"
description = "A Python package for reading data from the Inputs, Assumptions and Scenarios Report (IASR) Microsoft Excel workbook published by the Australian Energy Market Operator for use in their Integrated System Plan modelling."
authors = [
{ name = "nick-gorman", email = "n.gorman305@gmail.com" },
{ name = "prakaa", email = "abiprakash007@gmail.com" },
{ name = "dylanjmcconnell", email = "dylan.mcconnell@unsw.edu.au" }
]
dependencies = [
"pandas>=2.2.2",
"openpyxl>=3.1.5",
"pydantic>=2.8.2",
"pyyaml>=6.0.1",
"thefuzz>=0.22.1",
]
readme = "README.md"
requires-python = ">= 3.9"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.uv]
managed = true
dev-dependencies = [
"pre-commit>=3.8.0",
"ipython>=8.0",
"ipdb>=0.13.13",
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
]
[tool.pytest.ini_options]
# path to tests for pytest
testpaths = ["src", "tests"]
# addopts = add options
# --cov points pytest-cov to the src/ dir
# --cov-branch runs branch coverage
addopts = "-ra --doctest-modules --cov=src/ --cov-branch --cov-report xml:tests/coverage.xml --cov-report html:tests/htmlcov"
[tool.ruff.lint]
select = [
# isort
"I",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
isp_table_configs = ["**/*.yaml"]