-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
71 lines (61 loc) · 1.48 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
69
70
71
[tool.poetry]
name = "pyotr"
version = "0.8.0"
description = "Python OpenAPI-to-REST (and back) framework "
authors = ["Berislav Lopac <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://pyotr.readthedocs.io"
repository = "https://github.com/berislavlopac/pyotr"
[tool.poetry.dependencies]
python = "^3.8"
PyYAML = "^6.0"
stringcase = "^1.2.0"
typing-extensions = "^4.1.1"
uvicorn = "^0.17.6"
httpx = "^0.22.0"
starlette = "^0.19.0"
openapi-core = "^0.14.2"
[tool.poetry.extras]
uvicorn = ["uvicorn"]
[tool.poetry.dev-dependencies]
mkdocs = "^1.2.3"
pytest-asyncio = "^0.18.3"
pytest-cov = "^3.0.0"
pytest-flake8 = "^1.1.1"
pytest-mypy = "^0.9.1"
requests = "^2.27.1"
pytest = "^7.1.1"
black = "^22.1.0"
pydocstyle = "^6.1.1"
mypy = "^0.942"
tox = "^3.24.5"
toml = "^0.10.2"
pytest-spec = "^3.2.0"
tox-poetry = "^0.4.1"
Jinja2 = "<3.1"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.coverage.run]
source = [ "src/pyotr/", ]
omit = [ "*/tests/*", "src/tests/*", ]
[tool.coverage.report]
skip_covered = true
show_missing = true
fail_under = 90
exclude_lines = [ "pragma: no cover", "@abstract",]
[tool.black]
line-length = 96
target-version = ['py37', 'py38', 'py39']
verbose = false
skip-string-normalization = false
[tool.pydocstyle]
add-ignore = "D104, D107, D212, D401"
convention = "google"
match-dir = "^(?!tests|examples).*"
[tool.mypy]
mypy_path = "src/"
ignore_missing_imports = true
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"