-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
124 lines (110 loc) · 2.86 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
[tool.poetry]
name = "estios"
version = "0.1.0"
description = "Economic Spatial Temporal Input-Output Systems"
authors = [
"Dr Griffith Rees <grees@turing.ac.uk>",
"Bowan Zhang <bzhang@turing.ac.uk>",
"Dr Guy Solomon <guy.solomon@glasgow.ac.uk>",
]
maintainers = ["Dr Griffith Rees <grees@turing.ac.uk>"]
readme = "README.md"
repository = "https://github.com/griff-rees/estios"
license = "BSD-3-Clause"
documentation = "https://griff-rees.github.io/estios"
homepage = "https://griff-rees.github.io/estios"
[tool.poetry.dependencies]
python = "~3.11"
geopandas = "^0.13.2"
plotly = "^5.18.0"
typer = {version = "^0.4.2", extras = ["all"]}
openpyxl = "^3.1.2"
setuptools = "^69.0.2"
numpy = "^1.26.2"
xlrd = "^2.0.1"
# GDAL = {version = "3.5.3", platform = "darwin"}
# Fiona = "1.8.21"
# pyogrio = "^0.4.2"
# pyogrio = "^0.4.2"
# pyarrow = "^10.0.1"
Fiona = "^1.9.5"
pymrio = "^0.4.8"
country-converter = "^1.1.1"
poetry-dotenv-plugin = "^0.1.0"
ukcensusapi = "^1.1.6"
psutil = "5.9.4"
[tool.poetry.group.jupyter.dependencies]
jupyterlab = "^4.0.9"
[tool.poetry.group.server]
optional = true
[tool.poetry.group.server.dependencies]
python-dotenv = {version = "^0.19.2", extras = ["cli"]}
jupyter-dash = "^0.4.2"
fastapi = "^0.70.1"
uvicorn = "^0.16.0"
dash-auth = "^1.4.1"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest-remotedata = "^0.3.3"
pytest = "^7.4.3"
pre-commit = "^3.5.0"
pytest-cov = "^4.1.0"
pytest-sugar = "^0.9.7"
mypy = "^1.7.1"
pytest-xdist = "^3.5.0"
pymrio = "^0.4.8"
filelock = "^3.13.1"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.4.14"
mkdocs-typer = "^0.0.3"
mkdocs-literate-nav = "^0.6.1"
mkdocs-gen-files = "^0.5.0"
mkdocs-section-index = "^0.3.8"
black = "^23.11.0"
pymdown-extensions = "^10.5"
mkdocs-bibtex = "^2.11.0"
mktestdocs = "^0.2.1"
markdown-exec = {extras = ["ansi"], version = "^1.7.0"}
tabulate = "^0.9.0"
mkdocs-include-markdown-plugin = "^6.0.4"
mkdocstrings-python = "^1.7.5"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = """
--cov=estios
--cov-report=term:skip-covered
--cov-append
--pdbcls=IPython.terminal.debugger:TerminalPdb
--doctest-modules
--ignore=notebooks
--ignore-glob=*PRE_MERGE.py
--strict-config
--strict-markers
"""
# --dist=loadfile # Ensure consisten test order per file
# -n 2
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"nomis: requires a nomis api key in .env to run",
]
remote_data_strict = true
xfail_strict = true
[tool.poetry.scripts]
estios = "estios.cli:app"
# Pre-commit hooks related config.
[tool.pycln]
all = true
[tool.pydocstyle]
convention = "google"
match = '(?!test_).*\.py'
add-ignore = [
"D100", "D101", "D102", "D104", "D105", "D106", "D107", "D203",
"D204", "D211", "D213", "D301"
]