forked from cmr-surgical/ahasura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (42 loc) · 1.15 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
[tool.poetry]
name = "ahasura"
version = "1.4.2"
description = "Async and sync Hasura client"
readme = "README.md"
keywords = ["async", "sync", "ahasura", "hasura", "client"]
repository = "https://github.com/cmr-surgical/ahasura"
authors = ["Denis Ryzhkov <[email protected]>"]
license = "MIT"
[tool.poetry.urls]
Hasura = "https://hasura.io/"
"Hasura docs" = "https://hasura.io/docs/latest/graphql/core/index.html"
[tool.poetry.dependencies]
httpx = "^0"
python = "^3.8"
[tool.poetry.dev-dependencies]
black = "^22"
flake8 = "^4"
isort = "^5"
mypy = "^0"
poethepoet = "^0"
pytest = ">=6 <8"
pytest-mock = "^3"
[tool.poe.tasks]
test = "pytest -xv"
lt.sequence = ["lint", "test"]
[tool.poe.tasks.ci]
env.CHECK = "--check"
sequence = ["lint", "test"]
[tool.poe.tasks.lint]
env.PY_FILES = "ahasura.py tests"
env.LINE_LENGTH = "88"
default_item_type = "cmd"
sequence = [
"black $CHECK --line-length $LINE_LENGTH $PY_FILES",
"isort $CHECK --line-length $LINE_LENGTH $PY_FILES",
"flake8 --max-line-length $LINE_LENGTH $PY_FILES",
"mypy --pretty $PY_FILES",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"