forked from ocean-kristian/cognite-sdk-python-experimental
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (62 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
73 lines (62 loc) · 1.5 KB
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
[tool.poetry]
name = "cognite-sdk-experimental"
version = "0.60.33"
description = "Experimental additions to the Python SDK"
authors = ["Sander Land <sander.land@cognite.com>"]
packages = [
{ include="cognite", from="." },
]
[tool.black]
line-length = 120
target_version = ['py37']
include = '\.py$'
[tool.isort]
profile = "black"
line_length = 120
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py36,py37,py38
[testenv]
setenv =
COGNITE_API_KEY={env:COGNITE_API_KEY}
COGNITE_BASE_URL={env:COGNITE_BASE_URL}
COGNITE_CLIENT_NAME={env:COGNITE_CLIENT_NAME}
COGNITE_PROJECT={env:COGNITE_PROJECT}
deps =
pytest
pytest-cov
pytest-asyncio
commands =
coverage run --source cognite -m pytest -v tests
coverage xml
"""
[tool.poetry.dependencies]
python = ">=3.7,<4.0.0"
cognite-sdk = "^2.32.0"
responses = "^0.13.3"
sympy = "^1.3.0"
typing-extensions = "^3.7.4"
pandas = "^1.1"
regex = "^2020.11.13"
geopandas = { version = "^0.10.0", optional = true }
shapely = { version = "^1.7.0", optional = true }
[tool.poetry.extras]
geopandas = ["geopandas", "shapely"]
[tool.poetry.dev-dependencies]
pre-commit = "^2.1.1"
pytest = "^5.3.5"
pytest-cov = "^2.8.1"
tox = "^3.14.5"
tox-pyenv = "^1.1.0"
sphinx = "^4.2.0"
sphinx-rtd-theme = "^1.0.0"
twine = "^3.1.1"
pytest-asyncio = "^0.15.1"
[[tool.poetry.source]]
name = "snakepit"
url = "https://cognite.jfrog.io/cognite/api/pypi/snakepit/simple"
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"