-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (44 loc) · 1.44 KB
/
pyproject.toml
File metadata and controls
50 lines (44 loc) · 1.44 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
[tool.poetry]
name = "urbanopt-des"
version = "0.2.0"
description = ""
authors = ["Nicholas Long <nicholas.long@nlr.gov>"]
readme = "README.md"
packages = [{ include = "urbanopt_des", from = "." }]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
geopandas = "<1.0"
# Below 1.0 keeps Shapely <2.0, to avoid conflicts with nrel-disco's requirements for Shapely (via pydss)
# Comes from uo-sdk using both this and nrel-disco
cyclopts = "^4.10.2"
# release mode
geojson-modelica-translator = "^0.13.0"
# pre-release mode, use github
# geojson-modelica-translator = { git = "https://github.com/urbanopt/geojson-modelica-translator.git", branch = "develop" }
# dev mode
# geojson-modelica-translator = { path = "../geojson-modelica-translator", develop = true }
[tool.poetry.group.dev.dependencies]
pre-commit = "~=4.6"
mypy = "~1.20"
pytest = "~=9.0"
pytest-cov = "~7.1"
buildingspy = "^5.2.0"
[build-system]
requires = ["poetry-core>=2.0.1"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
des-output = "urbanopt_des.cli:app"
[tool.mypy]
# Exclude directories and files that need type fixing
exclude = [
"urbanopt_des/measures/",
"urbanopt_des/activity_to_osa/",
]
ignore_missing_imports = true
# Start with permissive settings - can be tightened incrementally
disallow_untyped_defs = false
# Still catch some useful errors
warn_return_any = false
warn_unused_ignores = true
# Don't require complete type coverage yet
check_untyped_defs = false