-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 2.08 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 2.08 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
[tool.poetry]
name = "building-data-utilities"
version = "0.1.0"
description = "Utilities for parsing and understanding building-related data to support covered building list development."
authors = ["Alex Swindler <alex.swinder@nrel.gov>", "Nicholas Long <nicholas.long@nrel.gov>", "Katherine Fleming <katherine.fleming@nrel.gov>"]
readme = "README.md"
packages = [{ include = "building_data_utilities", from = "." }]
[tool.poetry.dependencies]
python = ">=3.9, <3.13"
# Keep click <8.2 for compatibility with SEED (see SEED's requirements)
click = "<8.2"
# use NREL maintained building ID
buildingid-nrel = "^2.2"
usaddress = "0.5.16"
street-address = "0.4.0"
# geopandas below 1.0 keeps Shapely <2.0, to avoid
# conflicts with nrel-disco's requirements for Shapely (via pydss)
geopandas = "<1.0"
mercantile = "^1.2.1"
python-dotenv = "^1.0.1"
requests = "^2.32.5"
shapely = "^2.0.6"
setuptools = "^80.9.0"
nominatim = "^0.1"
geopy = "^2.4.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.3.0"
pytest = "^8.4.2"
pytest-cov = "^7.0.0"
[tool.pytest.ini_options]
# Configure pytest warning filters
filterwarnings = [
# Ignore pkg_resources deprecation warnings from external packages
"ignore:pkg_resources is deprecated:DeprecationWarning",
"ignore:Deprecated call to.*pkg_resources:DeprecationWarning",
# Ignore shapefile column name truncation warnings
"ignore:Column names longer than 10 characters:UserWarning",
"ignore:Normalized/laundered field name:RuntimeWarning",
# Ignore potential NumPy scalar conversion warnings
"ignore:Conversion of an array with ndim > 0 to a scalar is deprecated:DeprecationWarning",
# Ignore other common geospatial warnings
"ignore:.*CRS mismatch.*:UserWarning",
"ignore:.*geometry is in a geographic CRS.*:UserWarning",
]
# Coverage configuration
addopts = "--cov=building_data_utilities --cov-report=term-missing --cov-report=xml --cov-fail-under=50"
[build-system]
# Need to provide the build system information for the package to be built
requires = ["poetry-core", "setuptools", "wheel"]
build-backend = "poetry.core.masonry.api"