-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
98 lines (84 loc) · 2 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "elastic_datashader"
version = "0.0.6"
description = "Elastic-Datashader TMS Server"
authors = ["Spectric Labs <foss@spectric.com>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/spectriclabs/elastic_datashader"
classifiers = [
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Visualization"
]
[tool.poetry.scripts]
elastic_datashader = "elastic_datashader.cli:main"
[tool.poetry.dependencies]
python = ">=3.10,<4"
elasticsearch = "8.11.1"
elasticsearch-dsl = "8.11.0"
datashader = "0.16.0"
pandas = "^1.5.3"
colorcet = "^3.0.1"
mercantile = "1.2.1"
pypng = "*"
Pillow = "*"
pynumeral = "*"
arrow = "*"
python-datemath = "*"
numba = "0.57.1"
numpy = "^1.23"
PyYAML = "*"
humanize = "*"
uvicorn = {extras = ["standard"], version = "0.24.0", optional = true}
fastapi = ">=0.109.1"
georgio = "2023.156.924"
jinja2 = "3.1.4"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-cov = "*"
black = "*"
pylint = "*"
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
[tool.poetry.extras]
apm = ["elasticapm"]
localwebserver = ["uvicorn"]
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 150
extension-pkg-whitelist = "pydantic"
disable = "too-many-nested-blocks,too-many-branches,too-many-statements,R0801,R0902,R0903,R0911,R0913,R0914,C0103,C0114,C0115,C0116,C0123,C0301,C0302,fixme"
[tool.black]
line-length = 150
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py311
isolated_build = true
recreate = true
[gh-actions]
python =
3.10: py310
3.11: py311
[testenv]
setenv =
DATASHADER_VERIFY_INDICES = false
deps =
geopy
flake8
pylint
pytest
pytest-cov
requests
allowlist_externals =
mkdir
commands =
flake8 --select E201,E202,E231,E262,E265 elastic_datashader
pylint elastic_datashader
mkdir -p {toxinidir}/tms-cache
pytest --cov-report term-missing --cov=elastic_datashader
"""