-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
145 lines (133 loc) · 2.72 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[tool.poetry]
name = "archetypal"
version = "2.18.3"
description = "Retrieve, construct, simulate, convert and analyse building archetypes"
authors = ["Samuel Letellier-Duchesne <[email protected]>"]
license = "MIT License"
readme = "README.md"
packages = [
{ include = "archetypal", from = "." },
{ include = "geomeppy", from = "geomeppy" },
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
networkx = "<3"
eppy = "^0.5.63"
matplotlib = ">=3.4,<4.0"
pycountry = "^24.6.1"
scikit-learn = "^1.5.0"
pandas = ">=2.0.3"
tqdm = "^4.66.4"
click = "^8.1.7"
outdated = "^0.2.2"
deprecation = "^2.1.0"
sigfig = "^1.3.3"
requests = "^2.32.3"
coolprop = "^6.6.0"
energy_pandas = "^0.4.1"
validator-collection = "^1.5.0"
typing-extensions = "^4.12.2"
pydantic-settings = "^2.3.2"
path = "^16.14.0"
numpy = [
{version = "^2.0.2", python = "<=3.9"},
{version = "^2.1.1", python = "3.10"}
]
# geomeppy.dependencies
shapely = "^2.0.4"
beautifulsoup4 = "<=4.8"
contourpy = "^1.2.1"
cycler = "^0.12.1"
decorator = "^5.1.1"
esoreader = "^1.2.3"
fonttools = "^4.53.0"
future = "^1.0.0"
kiwisolver = "^1.4.5"
lxml = "^5.2.2"
munch = "^4.0.0"
packaging = "^24.1"
pillow = "^10.3.0"
pyclipper = "^1.3.0.post5"
pydot3k = "^1.0.17"
pyparsing = "^3.1.2"
pypoly2tri = "^0.0.3"
python-dateutil = "^2.9.0.post0"
six = "^1.16.0"
soupsieve = "^2.5"
tomli = "^2.0.1"
transforms3d = "^0.4.1"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
pytest-xdist = "^3.6.1"
tox = "^4.19.0"
pre-commit = "^3.8.0"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.3.7"
sphinx-rtd-theme = "^2.0.0"
recommonmark = "^0.7.1"
sphinx-click = "^6.0.0"
autodoc-pydantic = "^2.2.0"
sphinx-autobuild = "^2024.4.16"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
archetypal = "archetypal.cli:cli"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py37"
line-length = 120
fix = true
select = [
# flake8-2020
"YTT",
# flake8-bandit
# "S",
# flake8-bugbear
# "B",
# flake8-builtins
# "A",
# flake8-comprehensions
# "C4",
# flake8-debugger
"T10",
# flake8-simplify
# "SIM",
# isort
"I",
# mccabe
"C90",
# pycodestyle
#"E",
"W",
# pyflakes
# "F",
# pygrep-hooks
"PGH",
# pyupgrade
# "UP",
# ruff
# "RUF",
# tryceratops
# "TRY",
]
ignore = [
# LineTooLong
"E501",
# DoNotAssignLambda
"E731",
# Too Complex
"C901"
]
exclude = ["tests/input_data/*", "docker/trnsidf/*"]
[tool.ruff.format]
preview = true
[tool.coverage.report]
skip_empty = true
[tool.coverage.run]
branch = true
source = ["archetypal"]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101"]