forked from lithic-com/lithic-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (50 loc) · 1.23 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
[tool.poetry]
name = "lithic"
version = "0.3.0"
description = "Client library for the lithic API"
readme = "README.md"
authors = ["Lithic <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/lithic-com/lithic-python"
[tool.poetry.dependencies]
python = "^3.7"
httpx = ">= 0.23.0"
pydantic = ">= 1.9.0"
typing-extensions = ">= 4.1.1"
anyio = ">= 3.5.0"
[tool.poetry.dev-dependencies]
mypy = "^0.950"
black = "^22.1.0"
respx = "^0.19.2"
pytest = "^7.1.1"
pytest-asyncio = "^0.18.3"
pyright = "^1.1.260"
isort = "^5.10.1"
autoflake = "^1.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ["py37"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--tb=short"
xfail_strict = true
log_cli = true
log_level = "INFO"
asyncio_mode = "auto"
[tool.pyright]
# this enables practically every flag given by pyright.
# there are a couple of flags that are still disabled by
# default in strict mode as they are experimental and niche.
typeCheckingMode = "strict"
pythonVersion = "3.7"
exclude = [
"_dev"
]
reportImportCycles = false
[tool.isort]
profile = "black"
length_sort = true
extra_standard_library = ["typing_extensions"]