-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (50 loc) · 1.47 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
[tool.poetry]
name = "libsimba"
version = "1.6.2"
description = "libsimba is a library simplifying the use of SIMBAChain Blocks APIs."
authors = [
"SIMBA Chain Inc."
]
packages = [
{ include = "libsimba" }
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
httpx = ">=0.26.0"
pydantic = ">=2.1.1,<=2.9"
pydantic-settings = ">=2.1.0,<2.4"
[tool.poetry.dev-dependencies]
Sphinx = "^6.1.3"
pydata-sphinx-theme = "^0.15.2"
twine = "^4.0.1"
myst-parser = "^2.0.0"
pytest = "^8.0.0"
respx = "^0.20.2"
black = "^24.1.1"
isort = "^5.13.2"
taskipy = "^1.12.2"
coverage = "^7.4.1"
[tool.isort]
profile="black"
atomic=true
include_trailing_comma=true
lines_after_imports=2
lines_between_types=1
use_parentheses=true
src_paths=["config", "tests"]
skip_glob="*/setup.py"
filter_files=true
known_first_party="poetry"
[tool.pytest.ini_options]
markers = [
"unit: do not require an external service",
]
[tool.taskipy.tasks]
isort = { cmd = "isort libsimba", help = "Sort imports" }
format = { cmd = "black libsimba", help = "Run black code formatting" }
tests = { cmd = "pytest --pyargs tests -m unit --junitxml=junit.xml --verbose", help = "Run tests" }
live_async = { cmd = "pytest --pyargs tests/test_live_async.py --junitxml=junit.xml --verbose", help = "Run live async tests" }
live_sync = { cmd = "pytest --pyargs tests/test_live_sync.py --junitxml=junit.xml --verbose", help = "Run live async tests" }
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"