-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
68 lines (59 loc) · 1.44 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
[tool.poetry]
name = "cognite-power-sdk"
version = "0.17.0"
description = "Cognite Power SDK"
authors = ["Sander Land <[email protected]>"]
packages = [
{ include="cognite", from="." },
]
[tool.black]
line-length = 120
target_version = ['py37']
include = '\.py$'
[tool.isort]
line_length=120 # corresponds to -w flag
multi_line_output=3 # corresponds to -m flag
include_trailing_comma=true # corresponds to -tc flag
skip_glob = '^((?!py$).)*$' # this makes sort all Python files
known_third_party = ["networkx", "numpy", "pandas", "plotly", "pyproj", "pytest", "textdistance"]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py36,py37,py38
[testenv]
deps =
pytest
pytest-cov
cognite-sdk
pandas
commands =
pytest tests --cov-report xml:coverage.xml --cov=cognite
"""
[tool.poetry.dependencies]
python = "^3.6.1"
cognite-sdk = ">= 2.10.1"
numpy = "^1.18.1"
networkx = "^2.4"
matplotlib = "^3.2.1"
plotly = "^4.5.4"
pyproj = "^2.6.0"
textdistance = "^4.2.0"
pandas = "^1.0.5"
[tool.poetry.dev-dependencies]
black = "^19.3b0"
isort = "^4.3"
pre-commit = "^2.0"
pytest = "^5.3"
pytest-cov = "^2.8"
tox = "^3.14"
tox-pyenv = "^1.1"
sphinx = "^2.4.4"
sphinx-rtd-theme = "^0.4.3"
twine = "^3.1.1"
[[tool.poetry.source]]
name = "snakepit"
url = "https://cognite.jfrog.io/cognite/api/pypi/snakepit/simple"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"