-
Notifications
You must be signed in to change notification settings - Fork 54
/
pyproject.toml
84 lines (71 loc) · 1.83 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
[tool.poetry]
name = "wbdata"
version = "1.0.0"
description = "A library to access World Bank data"
authors = ["Oliver Sherouse <oliver@oliversherouse.com>"]
license = "GPL-2.0+"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Typing :: Typed"
]
repository = "https://github.com/OliverSherouse/wbdata"
documentation = "https://wbdata.readthedocs.io/"
keywords = ["World Bank", "data", "economics"]
[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.0"
tabulate = "^0.8.5"
appdirs = "^1.4"
pandas = {version = ">=1,<3", optional=true}
cachetools = "^5.3.2"
shelved-cache = "^0.3.1"
backoff = "^2.2.1"
dateparser = "^1.2.0"
decorator = "^5.1.1"
mkdocs = {version = "^1.5.3", optional=true}
mkdocstrings = {extras = ["python"], version = "^0.24.0", optional=true}
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.11"
ipython = "<8"
[tool.poetry.group.tests.dependencies]
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
[tool.poetry.group.types.dependencies]
mypy = "^1.8.0"
types-cachetools = "^5.3.0.7"
types-tabulate = "^0.9.0.20240106"
types-decorator = "^5.1.8.20240106"
types-appdirs = "^1.4.3.5"
types-requests = "^2.31.0.20240106"
types-dateparser = "^1.1.4.20240106"
[tool.poetry.extras]
pandas = ["pandas"]
docs = ["mkdocs", "mkdocstrings"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore-init-module-imports = true
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=wbdata"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"