-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
150 lines (140 loc) · 3.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[tool.poetry]
name = "overhave"
version = "5.0.1"
description = "Overhave - web-framework for BDD"
readme = "README.rst"
authors = [
"Vladislav Mukhamatnurov <[email protected]>",
"Tinkoff Backend Dialog System Team <[email protected]>"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: BDD",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Framework :: Flask",
"Framework :: Pytest",
]
[tool.poetry.scripts]
overhave = 'overhave.cli:overhave'
overhave-demo = 'demo:overhave_demo'
[tool.poetry.plugins.pytest11]
overhave = "overhave.pytest_plugin.plugin"
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
psycopg2-binary = "^2.8"
pydantic = ">=1.7"
tenacity = "*"
yarl = ">=1.1.1"
pytz = "*"
flask-admin = ">=1.5"
WTForms = ">=2.2"
python-ldap = "^3.2"
ldap3 = "^2.6"
wsgi_intercept = "^1.8"
redis = "^4.2.0"
docker = "*"
httptools = "^0.5.0"
python-dateutil = "^2.8.1"
alembic = "^1.4.3"
boto3 = "^1.17.16"
boto3-type-annotations = "^0.3.1"
GitPython = "^3.1.15"
python-gitlab = "^2.9.0"
fastapi = ">=0.57.0"
python-jose = "^3.3.0"
python-multipart = "^0.0.5"
aiofiles = "^0.8.0"
httpx = "^0.23.0"
walrus = "^0.9.2"
typer = "^0.7.0"
flask-login = "^0.6.2"
flask-wtf = "^1.1.1"
flask = "^2.3.2"
sqlalchemy = ">=1.4"
sqlalchemy-utils = "^0.41.1"
sqlalchemy-utc = "^0.14.0"
prometheus-client = "^0.16.0"
pydantic-settings = "^2.0.1"
[tool.poetry.group.dev.dependencies]
flake8-awesome = "<1.3"
requests_mock = "*"
flake8-docstrings = "^1.5"
pytest-faker = "^2.0"
filelock = "*"
pytest-cov = "^2.10.1"
pytest-deadfixtures = "^2.2.1"
pytest-random-order = "^1.0.4"
alchemy-mock = "^0.4.3"
coverage = {version = "^6.0.1", extras = ["toml"]}
pytest-mock = "^3.6.1"
allure-pytest = "^2.9.45"
pytest-xdist = "^2.5.0"
uvicorn = "^0.17.5"
black = "^22.1.0"
coverage-badge = "^1.1.0"
pytest-bdd = "^6.0.1"
docutils-stubs = "^0.0.22"
pytest-redis = "^2.4.0"
perflint = "^0.7.3"
pytest = "^6.2.5"
sphinx = "^7.0.0"
mypy = "^1.3.0"
tox = "^4.5.1"
twine = "^4.0.2"
[tool.pytest.ini_options]
addopts = "-l -v --random-order-bucket=module --random-order-seed=$RANDOM -p no:overhave"
testpaths = "tests"
python_files = ["test_*.py"]
python_classes = ["*Test", "Test*"]
python_functions = ["test_*"]
filterwarnings = [
"ignore::DeprecationWarning:sqlalchemy_utils.observer",
]
xfail_strict=true
[tool.coverage.run]
omit = [
"**/__main__.py",
"*_cache/*",
".pytest_cache",
"overhave/cli/*"
]
[tool.isort]
balanced_wrapping = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_first_party = ["docker", "docs", "overhave", "tests", "demo"]
line_length = 120
multi_line_output = 3
[tool.black]
target-version = ['py311']
line-length = 120
[build-system]
requires = ["poetry>=1.4.0"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
isolated_build_env = .package
envlist = py311
[testenv]
allowlist_externals =
make
venv = {toxworkdir}/{[tox]isolated_build_env}
setenv =
VENV = {[testenv]venv}
WORK_DIR = {toxworkdir}
passenv =
OVERHAVE_DB_URL
OVERHAVE_REDIS_URL
OVERHAVE_REDIS_SENTINEL_URLS
PACKAGE_BUILD_DIR
commands =
make check
"""