-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
62 lines (54 loc) · 1.5 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
[tool.poetry]
name = "contxt-sdk"
version = "6.4.0"
description = "Contxt SDK from ndustrial"
authors = ["ndustrial <[email protected]>"]
license = "ISC"
readme = "README.md"
repository = "https://github.com/ndustrialio/contxt-sdk-python"
packages = [ { include = "contxt" } ]
[tool.poetry.dependencies]
python = "^3.8"
auth0-python = "^3"
click = ">=7,<9"
cryptography = { version = ">=42.0.4", optional = true } # enable pyjwt to en/decode jwt via RSA
pyjwt = "^2"
pyyaml = ">=5,<7"
requests = "^2"
tabulate = "*"
sgqlc = ">=15,<17"
python-slugify = "^6.1.2"
[tool.poetry.dev-dependencies]
black = "^24"
flake8 = "^5"
isort = "^5"
mkdocs = "^1.4.2"
mkdocs-click = "^0.8.0"
mypy = "^0"
poethepoet = "^0"
pre-commit = "^3"
pytest = "^7"
types-click = "^7.1.8"
types-jwt = "^0.1.3"
types-setuptools = "^65.5.1"
types-pyyaml = "^6.0.12"
types-requests = "^2.31.0"
types-tabulate = "^0.9.0.2"
types-python-slugify = "^8.0.0.2"
[tool.poetry.extras]
crypto = ["cryptography"]
[tool.poetry.scripts]
contxt = "contxt.__main__:cli"
[tool.poe.tasks]
clean = { cmd = "rm -rf .mypy_cache/ .pytest_cache/ build/ dist/ *.egg-info", help = "Remove build artifacts" }
docs = { cmd = "mkdocs serve", help = "Serve documentation site" }
lint = { cmd = "pre-commit run --all-files", help = "Run linters and formatters" }
test = { cmd = "pytest tests", help = "Run tests" }
[tool.black]
line-length = 105
[tool.isort]
line_length = 105
profile = "black"
[build-system]
requires = ["poetry-core>=1.0"]
build-backend = "poetry.core.masonry.api"