-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (50 loc) · 1.23 KB
/
pyproject.toml
File metadata and controls
58 lines (50 loc) · 1.23 KB
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
[project]
name = "nlr-psm3-2-epw"
version = "0.5.0"
description = "A script that writes out epw files from NLR Physical Solar Model (PSM) v3.2.2"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"click==8.1.8",
"folium>=0.20.0",
"numpy==2.0.2",
"pandas==2.2.3",
"requests==2.33.0",
"streamlit==1.54.0",
"streamlit-folium>=0.26.2",
]
[project.optional-dependencies]
dev = [
"pytest==9.0.3",
"pytest-cov==5.0.0",
"ruff>=0.1.0",
]
[tool.pytest.ini_options]
addopts = "--cov=nlr_psm3_2_epw --cov-report=term-missing --cov-fail-under=100"
[tool.coverage.run]
source = ["nlr_psm3_2_epw"]
[tool.ruff]
exclude = [".venv", "venv", "env"]
line-length = 120
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["nlr_psm3_2_epw*"]
exclude = ["app*", "tests*"]
[dependency-groups]
dev = [
"playwright>=1.58.0",
"pytest>=9.0.3",
"pytest-cov>=5.0.0",
"pytest-playwright>=0.7.2",
"python-semantic-release>=9.21.0",
"ruff>=0.14.13",
]
[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
]
build_command = "pip install build && python -m build"
[tool.semantic_release.branches.main]
match = "(main|master)"