-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
116 lines (104 loc) · 2.81 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
[tool.poetry]
name = "boario"
version = "0.6.0"
description = "BoARIO : The Adaptative Regional Input Output model in python."
authors = ["Samuel Juhel <[email protected]>"]
license = "GNU General Public License v3 or later (GPLv3+)"
readme = "README.rst"
[tool.poetry.dependencies]
python=">=3.10,<4.0"
coloredlogs = "^15.0.1"
country-converter = "^1.0.0"
dask = ">=2023"
numpy = "<1.27"
odfpy = "^1.4.1"
pandas = ">=1.5"
progressbar2 = "^4.2.0"
pyarrow = ">=11"
pymrio = ">=0.4"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.3.1,<9.0.0"
pygit2 = "^1.12.1"
ipykernel = "^6.23.0"
black = ">=23.3,<25.0"
sphinxcontrib-bibtex = "^2.5.0"
sphinx-autoapi = ">=2.1,<4.0"
sphinx-automodapi = ">=0.15,<0.19"
sphinx-copybutton = "^0.5.2"
pydata-sphinx-theme = ">=0.13.3,<0.16.0"
nbsphinx = "^0.9.2"
pytest-cov = ">=4.1,<6.0"
isort = "^5.13.2"
flake8 = "^7.0.0"
flake8-pyproject = "^1.2.3"
safety = "^3.0.1"
pydoclint = "^0.4.1"
autoapi = "^2.0.1"
sphinx-autodoc-typehints = "^2.0.0"
numpydoc = "^1.7.0"
pre-commit = "^3.7.1"
sphinx-design = "^0.6.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project]
keywords = [
"ario",
"economics",
"events",
"extreme",
"impact",
"indirect",
"input-output",
"modeling",
"mrio",
]
name = "boario"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Mathematics",
]
[project.urls]
"Bug Reports" = "https://github.com/spjuhel/BoARIO/issues"
Documentation = "https://spjuhel.github.io/BoARIO/index.html"
Homepage = "https://github.com/spjuhel/BoARIO"
Source = "https://github.com/spjuhel/BoARIO/"
[tool.pyright]
include = ["boario"]
exclude = ["**/node_modules",
"**/__pycache__",
"src/",
"api-examples",
"docs/",
"dist/",
"imgs/",
"other/",
"tests/",
"dist/"
]
[tool.flake8]
# Recommend matching the black line length (default 88),
# rather than using the flake8 default of 79:
max-line-length = 88
extend-ignore = ['E501','E203']
defineConstant = { DEBUG = true }
stubPath = "boario/stubs"
[tool.pytest.ini_options]
addopts = "--cov=boario --cov-report html --cov-report json --cov-report lcov"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::FutureWarning"
]
log_level="DEBUG"
log_format = "%(asctime)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_file = "logs/pytest-logs.txt"